1 parent f2189df commit 0173502Copy full SHA for 0173502
1 file changed
.github/workflows/python-package.yml
@@ -0,0 +1,35 @@
1
+name: Python tests
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ python-version: ["3.10", "3.11", "3.12"]
15
16
+ steps:
17
+ - name: Check out repository
18
+ uses: actions/checkout@v4
19
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: ${{ matrix.python-version }}
24
25
+ - name: Install package and test dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install -e .
29
+ pip install pytest build
30
31
+ - name: Run tests
32
+ run: pytest
33
34
+ - name: Check package build
35
+ run: python -m build
0 commit comments