Skip to content

Upgraded folding and CP layers #114

Upgraded folding and CP layers

Upgraded folding and CP layers #114

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: 'pip'
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Run PyTest
run: |
coverage run --source=cirkit -m pytest
coverage xml
coverage report -m
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true