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 committed Nov 26, 2024
1 parent 2adb09f commit d110705
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: sudo apt install -y tox
# 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: |
# depsolve tests tend to be slow but are easy to parallize
Expand Down

0 comments on commit d110705

Please sign in to comment.