9
9
strategy :
10
10
fail-fast : false
11
11
matrix :
12
- os : [ubuntu-latest, macos-latest] # , windows-latest]
13
- python : [3.6, 3.7, 3.8 ]
12
+ os : [ubuntu-latest, macos-latest, windows-latest]
13
+ python : ["3.11", "3.12", "3.13" ]
14
14
architecture : [x64]
15
- # include:
16
- # - os: windows-latest
17
- # architecture: x86
18
15
env :
19
16
OS : ${{ matrix.os }}
20
17
ARCHITECTURE : ${{ matrix.architecture }}
21
18
PYTHON : Python ${{ matrix.python }}
22
19
steps :
23
- - uses : actions/checkout@v2
20
+ - uses : actions/checkout@v4
24
21
25
22
- name : Setup Python
26
- uses : actions/setup-python@v2
23
+ uses : actions/setup-python@v5
27
24
with :
28
25
python-version : ${{ matrix.python }}
29
26
architecture : ${{ matrix.architecture }}
@@ -38,18 +35,17 @@ jobs:
38
35
39
36
- name : Run Tests
40
37
run : |
41
- python -c "import time; time.sleep(2)"
42
- python -m poetry add pytest-cov
43
- python -m poetry run pytest --cov=./ --cov-report=xml
38
+ poetry run pip install -y pytest-cov
39
+ poetry run pytest --cov=./ --cov-report=xml
44
40
45
- - name : Upload Coverage (Ubuntu Python3.8 )
46
- uses : codecov/codecov-action@v1
41
+ - name : Upload Coverage (Ubuntu Python3.13 )
42
+ uses : codecov/codecov-action@v5
47
43
with :
48
- token : ${{secrets.CODECOV_TOKEN}}
49
- file : ./coverage.xml
44
+ token : ${{ secrets.CODECOV_TOKEN }}
45
+ files : ./coverage.xml
50
46
directory : ./coverage/reports
51
47
flags : unittests
52
48
fail_ci_if_error : true
53
49
env_vars : OS,PYTHON,ARCHITECTURE
54
50
name : codecov-umbrella
55
- if : matrix.os == 'ubuntu-latest' && matrix.python == 3.8
51
+ if : matrix.os == 'ubuntu-latest' && matrix.python == 3.13
0 commit comments