Skip to content

⬆️ update codecov action (#106) #603

⬆️ update codecov action (#106)

⬆️ update codecov action (#106) #603

Workflow file for this run

name: CodeCov
on:
push:
pull_request:
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install MQT ProblemSolver
run: pip install .[coverage]
- name: Generate Report
run: pytest -v --cov --cov-config=pyproject.toml --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}