File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 14
14
- published
15
15
16
16
jobs :
17
+ run_pytest :
18
+ name : Run tests on min and max Python versions
19
+ runs-on : self-hosted
20
+ strategy :
21
+ fail-fast : true
22
+ matrix :
23
+ python-version : ["3.9", "3.13"]
24
+ steps :
25
+ - uses : actions/checkout@v4
26
+
27
+ - name : Set up Python
28
+ uses : actions/setup-python@v5
29
+ with :
30
+ python-version : ${{ matrix.python-version }}
31
+
32
+ - name : Install dependencies
33
+ run : |
34
+ python -m pip install --upgrade pip
35
+ python -m pip install -e ".[dev]"
36
+
37
+ - name : Run tests with pytest
38
+ run : |
39
+ pytest -v
40
+
17
41
build_wheels :
18
42
name : Build wheels on ${{ matrix.os }}
19
43
runs-on : ${{ matrix.os }}
44
+ needs : run_pytest
20
45
strategy :
21
46
fail-fast : false
22
47
matrix :
37
62
build_sdist :
38
63
name : Build source distribution
39
64
runs-on : self-hosted
65
+ needs : run_pytest
40
66
steps :
41
67
- uses : actions/checkout@v4
42
68
You can’t perform that action at this time.
0 commit comments