We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05535cd commit 08d79b7Copy full SHA for 08d79b7
.github/workflows/tests.yml
@@ -0,0 +1,30 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Set up Python ${{ matrix.python-version }}
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
24
+ - name: Install dependencies
25
+ run: |
26
+ pip install -e ".[dev]" --quiet || pip install -e . pytest pytest-cov --quiet
27
28
+ - name: Run tests
29
30
+ pytest tests/ -x --tb=short -q
0 commit comments