Skip to content

Add basic CLI around get_benchmark() #1136

Add basic CLI around get_benchmark()

Add basic CLI around get_benchmark() #1136

Workflow file for this run

name: CodeCov
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install MQT Bench
run: pip install -e .[coverage]
- name: Generate Report
run: pytest -v --cov --cov-config=pyproject.toml --cov-report=xml --ignore=tests/test_pregenerated_zip.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}