Skip to content

Commit

Permalink
sr.ht ci: install pytest
Browse files Browse the repository at this point in the history
Ensure pytest exists on sourcehut builds before running Portage test
suite.

Signed-off-by: Oskari Pirhonen <[email protected]>
Closes: #1064
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
xxc3nsoredxx authored and thesamesam committed Jul 9, 2023
1 parent f24dd0d commit 9a41acc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .builds/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ tasks:
- setup-python: |
portage/.builds/setup-python.sh "${PYTHON_VERSIONS[@]}"
- setup-tests: |
for py in "${PYTHON_VERSIONS[@]}"; do
source ".venv-$py/bin/activate"
pip install pytest
deactivate
done
- test-install: |
for py in "${PYTHON_VERSIONS[@]}"; do
source ".venv-$py/bin/activate"
Expand Down

0 comments on commit 9a41acc

Please sign in to comment.