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 1414 - published
1515
1616jobs :
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+
1741 build_wheels :
1842 name : Build wheels on ${{ matrix.os }}
1943 runs-on : ${{ matrix.os }}
44+ needs : run_pytest
2045 strategy :
2146 fail-fast : false
2247 matrix :
3762 build_sdist :
3863 name : Build source distribution
3964 runs-on : self-hosted
65+ needs : run_pytest
4066 steps :
4167 - uses : actions/checkout@v4
4268
You can’t perform that action at this time.
0 commit comments