Skip to content

Commit

Permalink
Bump codecov/codecov-action from 3 to 4 (#435)
Browse files Browse the repository at this point in the history
Bumps
[codecov/codecov-action](https://github.com/codecov/codecov-action) from
3 to 4.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
dependabot[bot] and njzjz committed Feb 9, 2024
1 parent f0b945a commit 6c6c713
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/machines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: ./ci/${{ matrix.machine }}.sh
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/test-bohrium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
BOHRIUM_PASSWORD: ${{ secrets.BOHRIUM_PASSWORD }}
BOHRIUM_PROJECT_ID: ${{ secrets.BOHRIUM_PROJECT_ID }}
BOHRIUM_ACCESS_KEY: ${{ secrets.BOHRIUM_ACCESS_KEY }}
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
remove_label:
permissions:
contents: read
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
coverage run -p --source=./dpdispatcher -m dpdispatcher -h
coverage combine
coverage report
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
pass:
needs: [test]
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion ci/slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ docker-compose pull
cd -

docker exec slurmctld /bin/bash -c "cd dpdispatcher && pip install .[test] coverage && coverage run --source=./dpdispatcher -m unittest -v && coverage report"
docker exec --env-file <(env | grep GITHUB) slurmctld /bin/bash -c "cd dpdispatcher && curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov"
docker exec --env-file <(env | grep -e GITHUB -e CODECOV) slurmctld /bin/bash -c "cd dpdispatcher && curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov"
2 changes: 1 addition & 1 deletion ci/ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ docker-compose pull
cd -

docker exec test /bin/bash -c "cd /dpdispatcher && pip install .[test] coverage && coverage run --source=./dpdispatcher -m unittest -v && coverage report"
docker exec --env-file <(env | grep GITHUB) test /bin/bash -c "cd /dpdispatcher && curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov"
docker exec --env-file <(env | grep -e GITHUB -e CODECOV) test /bin/bash -c "cd /dpdispatcher && curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov"
2 changes: 1 addition & 1 deletion ci/ssh_rsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ docker exec server /bin/bash -c "apt-get -y update && apt-get -y install rsync"
docker exec test /bin/bash -c "apt-get -y update && apt-get -y install rsync"

docker exec test /bin/bash -c "cd /dpdispatcher && pip install .[test] coverage && coverage run --source=./dpdispatcher -m unittest -v && coverage report"
docker exec --env-file <(env | grep GITHUB) test /bin/bash -c "cd /dpdispatcher && curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov"
docker exec --env-file <(env | grep -e GITHUB -e CODECOV) test /bin/bash -c "cd /dpdispatcher && curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov"

0 comments on commit 6c6c713

Please sign in to comment.