From 4574592e610b34f4da81eab72088c6abed702971 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) - changed .codecov.yml to point to main as default branch --- .codecov.yml | 2 +- .github/workflows/ci.yaml | 2 +- README.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 1880f5aa..f76df153 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,3 +1,3 @@ codecov: - branch: master + branch: main 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