From 59a26fd98541e14e0dd75c91959852deaa1bf6ec Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Wed, 28 Aug 2024 09:21:35 +1000 Subject: [PATCH] ... --- .github/workflows/run-tests-push.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests-push.yml b/.github/workflows/run-tests-push.yml index f54aec3..59d07d9 100644 --- a/.github/workflows/run-tests-push.yml +++ b/.github/workflows/run-tests-push.yml @@ -150,9 +150,10 @@ jobs: steps: - uses: actions/checkout@v4 - run: sudo apt install python3.12-full python3-pip xvfb - - run: python3.12 -m pip install --upgrade pip - - run: python3.12 -m pip install -e .[dev] - - run: xvfb-run python3.12 -mpytest tests/ + - run: python3.12 -m venv /tmp/venv + - run: /tmp/venv/bin/python -m pip install --upgrade pip + - run: /tmp/venv/bin/python -m pip install -e .[dev] + - run: xvfb-run /tmp/venv/bin/python -m pytest tests/ # run-tests-ubuntu-22_04-pypy3: # runs-on: ubuntu-22.04