Skip to content

Commit

Permalink
update coverage report upload with github action
Browse files Browse the repository at this point in the history
  • Loading branch information
skim0119 committed Nov 14, 2024
1 parent 9448a6a commit a006a44
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,8 @@ jobs:
source $VENV
make test
# Upload coverage to Codecov (use python 3.10 ubuntu-latest)
report-coverage: # Report coverage from python 3.8 and mac-os. May change later
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
needs: build
steps:
- name: Upload coverage to Codecov
- name: Upload coverage to Codecov (only on 3.10 ubuntu-latest)
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit a006a44

Please sign in to comment.