diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf6a27dc..a2ddcb4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: CIBW_BUILD: "${{ matrix.os_dist.dist }}" CIBW_ARCHS_MACOS: "x86_64 universal2 arm64" CIBW_BEFORE_BUILD: pip install --upgrade ninja - CIBW_TEST_REQUIRES: pytest stim~=1.10.dev1666411378 + CIBW_TEST_REQUIRES: pytest stim CIBW_TEST_COMMAND: pytest {project}/tests strategy: fail-fast: false @@ -202,7 +202,7 @@ jobs: run: python -m pytest tests - name: Add stim - run: python -m pip install stim~=1.10.dev1666411378 + run: python -m pip install stim - name: Test with stim using coverage run: python -m pytest tests --cov=./src/pymatching --cov-report term @@ -244,7 +244,7 @@ jobs: with: python-version: '3.10' - name: Add requirements - run: python -m pip install --upgrade cmake>=3.12 ninja==1.10.2.4 pytest flake8 pytest-cov stim~=1.10.dev1666411378 + run: python -m pip install --upgrade cmake>=3.12 ninja==1.10.2.4 pytest flake8 pytest-cov stim - name: Build and install run: pip install --verbose -e . - name: Run tests and collect coverage