We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6914d54 commit a2d13c0Copy full SHA for a2d13c0
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,34 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ${{ matrix.os }}
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ os: [ubuntu-latest, macos-latest, windows-latest]
16
+ python-version: ['3.9', '3.10', '3.11', '3.12']
17
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ with:
21
+ fetch-depth: 0
22
23
+ - name: Set up Python ${{ matrix.python-version }}
24
+ uses: actions/setup-python@v5
25
26
+ python-version: ${{ matrix.python-version }}
27
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install .[test-headless]
32
33
+ - name: Run tests
34
+ run: pytest tests/ -v
0 commit comments