From bca7fb1418dd776e669a3007d29d52402e0d6cb8 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 25 Nov 2024 11:56:50 +0100 Subject: [PATCH] workflow: install `python3-pytest` too to workaround `test_host.py` The test_host.py:test_signals_on_separate_fd (and more) runs itself but that run will happen without the tox env so a pip/tox installed pytest will not be found, install the pytest package as a workaround. --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1081da16..5221e08e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -83,8 +83,11 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - - run: sudo apt install -y tox - - name: "Run as user on default runner" + # The test_host.py:test_signals_on_separate_fd runs itself but that + # run will happen without the tox env so a pip/tox installed pytest + # will not be found, install the pytest package as a workaround + - run: sudo apt install -y tox python3-pytest + - name: "Run as user on default runer" # Run with -n 16 as depsolve tests tend to be slow but fast when # parallized, the runtime is around 1-2min with this setup. run: |