Skip to content

Commit

Permalink
codecov updates
Browse files Browse the repository at this point in the history
- updated codecov badge to always point to main and uses token
- updated codecov GH action (avoid Node 16 deprecation warnings)
- changed .codecov.yml to point to main as default branch
  • Loading branch information
orbeckst committed Jun 17, 2024
1 parent 1d6aa0b commit 4574592
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
codecov:
branch: master
branch: main

2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
pytest -v --disable-pytest-warnings --durations=20 --low-performance --cov=gromacs --cov-report=xml --color=yes ./tests
- name: Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ that you are running simulations with sensible parameters.
.. |build| image:: https://github.com/Becksteinlab/GromacsWrapper/actions/workflows/ci.yaml/badge.svg?branch=main
:target: https://github.com/Becksteinlab/GromacsWrapper/actions/workflows/ci.yaml
:alt: Build Status
.. |cov| image:: https://codecov.io/gh/Becksteinlab/GromacsWrapper/badge.svg
.. |cov| image:: https://codecov.io/gh/Becksteinlab/GromacsWrapper/branch/main/graph/badge.svg?token=LvbLZ49wxN
:target: https://codecov.io/gh/Becksteinlab/GromacsWrapper
:alt: Code Coverage
.. |zenodo| image:: https://zenodo.org/badge/13219/Becksteinlab/GromacsWrapper.svg
Expand Down

0 comments on commit 4574592

Please sign in to comment.