Skip to content

Commit

Permalink
Update codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTranter committed Feb 8, 2024
1 parent 87f7b27 commit 2b39613
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2b39613

Please sign in to comment.