From f853958887e4ab8096e6d373d4948975ade36b4f Mon Sep 17 00:00:00 2001 From: Agustin Borgna Date: Thu, 2 Nov 2023 15:15:24 +0000 Subject: [PATCH] Update paths in CI --- .github/workflows/ci.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8cf7d526c..04dfaa60d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' @@ -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: