Skip to content

Commit

Permalink
Try to update codecov action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Sep 9, 2024
1 parent 26a64dc commit dc48800
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/ci-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ jobs:
run: |
tox -e py
mv coverage.xml coverage-${{ matrix.python }}.xml
- name: Store coverage file
uses: actions/upload-artifact@v4
- uses: codecov/codecov-action@v4.1.0
if: matrix.os == 'ubuntu-latest'
with:
name: coverage-${{ matrix.python }}
path: coverage-${{ matrix.python }}.xml
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage-${{ matrix.python }}.xml
name: py${{ matrix.python }}-${{ matrix.os }}
flags: unittests
fail_ci_if_error: true
verbose: true
integration:
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -68,13 +71,6 @@ jobs:
pip3 install -e .
pip install --upgrade pip
pip install --upgrade setuptools
mkdir -p ./pr
echo ${{ github.event.number }} > ./pr/NR
- uses: actions/upload-artifact@v4
with:
name: pr
path: pr/
overwrite: true
- uses: pypa/gh-action-pip-audit@v1.0.8
with:
ignore-vulns: |
Expand Down

0 comments on commit dc48800

Please sign in to comment.