Skip to content

Implement λ(W) causal-indefiniteness metric #67

Implement λ(W) causal-indefiniteness metric

Implement λ(W) causal-indefiniteness metric #67

Workflow file for this run

name: Codecov Coverage
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
pip install pytest pytest-cov
- name: Run tests with coverage
run: |
pytest -v --maxfail=3 --disable-warnings \
--cov=qmlhc --cov-report=term-missing --cov-report=xml \
--cov-fail-under=75
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: false