Skip to content

Commit 6a55ead

Browse files
committed
Fix workflow
1 parent b830d6d commit 6a55ead

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed
Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
11
name: 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-
193
on:
204
- push
215
- pull_request
@@ -52,26 +36,4 @@ jobs:
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

0 commit comments

Comments
 (0)