Skip to content

Commit 457af99

Browse files
Merge pull request #62 from UBC-MDS/add_codecov
Coverage reports upload
2 parents d3b9fd6 + a9b0f80 commit 457af99

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
run: |
2828
pytest --cov --cov-report=term --cov-branch
2929
30+
- name: Upload coverage reports to Codecov
31+
uses: codecov/codecov-action@v5
32+
with:
33+
token: ${{ secrets.CODECOV_TOKEN }}
34+
3035
pypi-test:
3136
needs: unit-test-pytest
3237
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ jobs:
5959
# save it as a github secret called CODECOV_TOKEN
6060
- name: Upload to codecov
6161
if: runner.os == 'macOS' && matrix.python-version == '3.13'
62-
uses: codecov/codecov-action@v5 # v5.5.1
62+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
6363
with:
64-
token: ${{ secrets.CODECOV_TOKEN }}
64+
#token: ${{ secrets.CODECOV_TOKEN }}
6565
verbose: true
6666
files: ./coverage.xml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
| | |
44
|----|----|
55
| Package | [![Latest PyPI Version](https://img.shields.io/pypi/v/autoeda.svg)](https://pypi.org/project/autoeda/) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/autoeda.svg)](https://pypi.org/project/autoeda/) |
6-
| Meta | [![Code of Conduct](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md) [![codecov](https://codecov.io/gh/UBC-MDS/autoeda/graph/badge.svg?token=rK9rjthqol)](https://codecov.io/gh/UBC-MDS/autoeda) |
6+
| Meta | [![Code of Conduct](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md) [![codecov](https://codecov.io/gh/UBC-MDS/autoeda/branch/develop/graph/badge.svg?token=rK9rjthqol)](https://codecov.io/gh/UBC-MDS/autoeda) |
77
| | [![Netlify Status](https://api.netlify.com/api/v1/badges/8d483306-df77-41fd-8e9a-ad3bc57b1c4c/deploy-status)](https://app.netlify.com/projects/autoeda/deploys)
88

99
*TODO: the above badges that indicate python version and package version will only work if your package is on PyPI. If you don't plan to publish to PyPI, you can remove them.*

0 commit comments

Comments
 (0)