Skip to content

Fix the number of equation for fidelity function gaussian_checks.py #1647

Fix the number of equation for fidelity function gaussian_checks.py

Fix the number of equation for fidelity function gaussian_checks.py #1647

Workflow file for this run

name: tests
on:
pull_request:
jobs:
python-tests-pr:
name: python
if: github.event.pull_request.merged != true
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout The Walrus
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
shell: bash
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install pytest-cov wheel codecov
- name: Install The Walrus
run: |
pip install -e .
- name: Run tests
run: python3 -m pytest thewalrus --randomly-seed=137 --cov=thewalrus --cov-report term-missing --cov-report=html:coverage_html_report --cov-report=xml:coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
disable_search: true
fail_ci_if_error: true