From 2b396138d5f2a16f70b7cdf38569b3b4716c7c22 Mon Sep 17 00:00:00 2001 From: Tom Tranter Date: Thu, 8 Feb 2024 18:19:58 +0000 Subject: [PATCH] Update codecov --- .github/workflows/ci.yml | 13 ++++--------- README.md | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bf585a..3bc48c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,15 +24,10 @@ jobs: run: | python -m pip install --upgrade pip pip install -e ".[dev]" - - name: Test with pytest and Generate Coverage Report - run: | - pytest --cov=JellyBaMM --cov-report=xml - - - name: Upload Coverage to Codecov - uses: codecov/codecov-action@v2 - with: - files: ./coverage.xml,./report.xml - + - name: Run tests and collect coverage + run: pytest --cov=JellyBaMM --cov-report=xml + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v3 - name: Build docs run: | mkdocs build diff --git a/README.md b/README.md index 010c4f7..f36de21 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Scheduled](https://github.com/TomTranter/JellyBaMM/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/TomTranter/JellyBaMM/actions/workflows/ci.yml) -[![Documentation Status](https://readthedocs.org/projects/pybamm-pnm/badge/?version=latest)](https://pybamm-pnm.readthedocs.io/en/latest/?badge=latest) +[![Documentation Status](https://readthedocs.org/projects/jellybamm/badge/?version=latest)](https://jellybamm.readthedocs.io/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/TomTranter/JellyBaMM/graph/badge.svg?token=U8IN5ZME8E)](https://codecov.io/gh/TomTranter/JellyBaMM) # pybamm_pnm