Skip to content

Commit

Permalink
Update paths in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Nov 2, 2023
1 parent 3c03354 commit f853958
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,10 @@ jobs:
- name: Build pyo3 bindings
run: |
pip install -r requirements.txt
cd pyrs
maturin build
pip install ../target/wheels/*.whl
maturin build -m pytket-tk2/Cargo.toml
pip install target/wheels/*.whl
- name: Test pyo3 bindings
run: |
cd pyrs
pytest
run: pytest

coverage:
if: github.event_name != 'merge_group'
Expand Down Expand Up @@ -151,13 +148,10 @@ jobs:
run: |
pip install -r requirements.txt
pip install pytest-cov
cd pyrs
maturin build
pip install ../target/wheels/*.whl
maturin build -m pytket-tk2/Cargo.toml
pip install target/wheels/*.whl
- name: Run python tests with coverage instrumentation
run: |
cd pyrs
pytest --cov=./ --cov-report=xml
run: pytest --cov=./ --cov-report=xml
- name: Upload python coverage to codecov.io
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit f853958

Please sign in to comment.