From b8ba09123a40a97dead7103b88847db73417d3a8 Mon Sep 17 00:00:00 2001 From: Oliver Beckstein Date: Sun, 16 Jun 2024 20:46:01 -0700 Subject: [PATCH] codecov updates - updated codecov badge to always point to main and uses token - updated codecov GH action (avoid Node 16 deprecation warnings) --- .github/workflows/ci.yaml | 2 +- README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06a59e38..13e54cc5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 }} diff --git a/README.rst b/README.rst index fc744672..73bceab7 100644 --- a/README.rst +++ b/README.rst @@ -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