diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index dbb77b16..1a478449 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -24,9 +24,13 @@ jobs: steps: - uses: actions/checkout@v4 - run: sudo apt-get install -y python3-pip libsecp256k1-dev + if: startsWith(matrix.os, 'ubuntu-') - run: python3 -m venv /tmp/venv - run: /tmp/venv/bin/python -m pip install --upgrade pip hatch coverage + - name: Install `setuptools` on systems where it is missing by default + run: /tmp/venv/bin/pip install setuptools + # Only run coverage on one OS - run: /tmp/venv/bin/hatch run testing:test if: matrix.os != 'ubuntu-24.04'