diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 74a8098..fa4dcab 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
-name: Python package
+name: test
on:
push:
@@ -31,10 +31,14 @@ jobs:
pip install -r requirements.txt
- name: Test with pytest
run: |
- python -m pytest -v --cov --cov-report=html --cov-report=term --color=yes
+ python -m pytest -v --cov=./ --cov-report=xml --cov-report=html --cov-report=term --color=yes
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v3
+ with:
+ file: ./coverage.xml
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: coverage-report
- path: htmlcov
+ path: htmlcov/
diff --git a/README.md b/README.md
index 4fc6fce..a446ee6 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,9 @@
# VA-AM
+[](https://va-am.readthedocs.io/en/latest/?badge=latest)
+[](https://badge.fury.io/py/va-am)
+[](https://anaconda.org/conda-forge/va_am)
+[](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml)
+[](https://codecov.io/gh/GheodeAI/va_am)