File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : tests
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+
9+ env :
10+ FORCE_COLOR : 1
11+
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+ pytest :
18+ runs-on : ${{ matrix.os }}-latest
19+ strategy :
20+ matrix :
21+ os :
22+ - ubuntu
23+ - windows
24+ - macos
25+ python :
26+ - ' 3.9'
27+ - ' 3.10'
28+ - ' 3.11'
29+ - ' 3.12'
30+ - ' 3.13'
31+ fail-fast : false
32+ steps :
33+ - uses : actions/checkout@v4
34+ with :
35+ submodules : true
36+ - uses : actions/setup-python@v5
37+ with :
38+ python-version : ${{ matrix.python }}
39+ - run : python -m pip install .[test]
40+ - run : python -m pytest --showlocals -vv --cov --cov-report=xml
41+ - uses : codecov/codecov-action@v4
42+ if : always()
43+ env :
44+ PYTHON : ${{ matrix.python }}
45+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
46+ with :
47+ flags : tests
48+ env_vars : PYTHON
49+ name : ${{ matrix.os }} - ${{ matrix.python }}
You can’t perform that action at this time.
0 commit comments