diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c1fbd52..afa3be2 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -36,3 +36,8 @@ jobs: - name: Test with pytest run: | python3.10 -m pytest --cov=calculator tests/ + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + name: codecov-umbrella diff --git a/README.md b/README.md index e08f83a..8d8355c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # calculator -![GitHub Actions](https://github.com/zevaryx/calculator/actions/workflows/python-package.yml/badge.svg) ![GitLab CI/CD](https://git.zevaryx.com/zevaryx/calculator/badges/main/pipeline.svg) +![GitHub Actions](https://github.com/zevaryx/calculator/actions/workflows/python-package.yml/badge.svg) + +[![pipeline status](https://git.zevaryx.com/zevaryx/calculator/badges/main/pipeline.svg)](https://git.zevaryx.com/zevaryx/calculator/-/commits/main) +[![coverage report](https://git.zevaryx.com/zevaryx/calculator/badges/main/coverage.svg)](https://git.zevaryx.com/zevaryx/calculator/-/commits/main) A simple calculator based on [CodePulse's Math Interpreter series](https://www.youtube.com/playlist?list=PLZQftyCk7_Sdu5BFaXB_jLeJ9C78si5_3)