Skip to content

Merge pull request #451 from jakob-bagterp/dependabot/pip/mkdocs-mate… #422

Merge pull request #451 from jakob-bagterp/dependabot/pip/mkdocs-mate…

Merge pull request #451 from jakob-bagterp/dependabot/pip/mkdocs-mate… #422

Workflow file for this run

name: CodeCov
on:
push:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
- name: Generate coverage report
run: pytest --cov=./ --cov-report=xml
- name: Upload coverage report to CodeCov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${{ secrets.CODECOV_TOKEN }} -Z