File tree Expand file tree Collapse file tree 1 file changed +0
-38
lines changed
Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Original file line number Diff line number Diff line change 11name : build
22
3- on :
4- - push
5- - pull_request
6-
7- jobs :
8- build :
9- runs-on : ${{ matrix.platform }}
10- strategy :
11- matrix :
12- platform :
13- - ubuntu-latest
14- - macos-latest
15- - windows-latest
16- python-version : ['3.9', '3.10', '3.11', '3.12']
17- name : build
18-
193on :
204 - push
215 - pull_request
5236 if-no-files-found : error
5337 - name : Upload coverage.xml to codecov
5438 if : ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.12' }}
55- uses : codecov/codecov-action@v2
56- steps :
57- - uses : actions/checkout@v3
58- - name : Set up Python ${{ matrix.python-version }}
59- uses : actions/setup-python@v4
60- with :
61- python-version : ${{ matrix.python-version }}
62- - name : Install dependencies
63- run : |
64- python -m pip install --upgrade pip
65- python -m pip install tox tox-gh-actions
66- - name : Test with tox
67- run : tox -vv
68- - name : Upload coverage.xml
69- if : ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.10' }}
70- uses : actions/upload-artifact@v3
71- with :
72- name : tox-gh-actions-coverage
73- path : coverage.xml
74- if-no-files-found : error
75- - name : Upload coverage.xml to codecov
76- if : ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.10' }}
7739 uses : codecov/codecov-action@v2
You can’t perform that action at this time.
0 commit comments