From 7ad7c39113c0d68eab6c1c0fee688fbf7979eedc Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Mon, 10 Jun 2024 15:43:16 +0200 Subject: [PATCH] fixup for compat --- .github/workflows/pytest.yml | 4 ++++ 1 file changed, 4 insertions(+) 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'