Fix docs issues #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: codecov | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Run pytest and upload to Codecov | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install requirements | |
run: pip install -r requirements-dev.txt | |
- name: Run tests and collect coverage | |
run: pytest --cov . | |
- name: Upload coverage reports to Codecov | |
run: | | |
curl -Os https://cli.codecov.io/latest/linux/codecov | |
chmod +x codecov | |
./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n 'service'-${{ github.run_id }} -F service -f coverage-service.xml |