We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b5a133 commit 277dd54Copy full SHA for 277dd54
2 files changed
.github/workflows/python-ci.yml
@@ -0,0 +1,36 @@
1
+# .github/workflows/python-ci.yml
2
+name: Python CI
3
+
4
+on:
5
+ push:
6
+ branches: [ master ]
7
+ pull_request:
8
9
10
+jobs:
11
+ build-and-test:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - name: Set up Python 3.12
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.12"
21
22
+ - name: Install Poetry
23
+ run: |
24
+ pipx install poetry
25
26
+ - name: Install dependencies
27
28
+ poetry install
29
30
+ - name: Build Cython extension in place
31
32
+ poetry run python setup.py build_ext --inplace
33
34
+ - name: Run tests
35
36
+ poetry run pytest cython_example_proj
.travis.yml
0 commit comments