File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
9
9
jobs :
10
- test :
11
- runs-on : ubuntu-latest
12
-
10
+ build-test :
11
+ runs-on : ${{ matrix.os }}
13
12
strategy :
13
+ fail-fast : true
14
14
matrix :
15
- python-version : ['3.8', '3.9', '3.10', '3.11']
15
+ os : ["ubuntu-latest", "macos-latest", "windows-latest"]
16
+ python-version : ["3.8", "3.9", "3.10", "3.11"]
16
17
17
18
steps :
18
19
- name : Check out repository
19
- uses : actions/checkout@v3
20
+ uses : actions/checkout@v4
20
21
21
22
- name : Set up Python
22
23
uses : actions/setup-python@v4
29
30
pip install .[test]
30
31
31
32
- name : Run tests
32
- run : pytest
33
+ run : pytest --cov-report=xml
34
+
35
+ - name : Upload coverage report
36
+ if : ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'}}
37
+ uses : codecov/codecov-action@v3
You can’t perform that action at this time.
0 commit comments