Skip to content

Commit

Permalink
workflow: install python3-pytest too to workaround test_host.py
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mvo5 authored and achilleas-k committed Nov 28, 2024
1 parent 9ac5f21 commit 2375021
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 2375021

Please sign in to comment.