diff options
author | Oskari Pirhonen <xxc3ncoredxx@gmail.com> | 2023-07-08 01:43:58 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-09 01:35:14 +0100 |
commit | 9a41acc7ee5d39c390d9a09421ad2671acee0be8 (patch) | |
tree | 14dbc7c2ef15b71e317e8721c3bff9961464ce76 | |
parent | bin/save-ebuild-env.sh: refrain from using the compgen builtin (diff) | |
download | portage-9a41acc7.tar.gz portage-9a41acc7.tar.bz2 portage-9a41acc7.zip |
sr.ht ci: install pytest
Ensure pytest exists on sourcehut builds before running Portage test
suite.
Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Closes: https://github.com/gentoo/portage/pull/1064
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | .builds/ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.builds/ci.yml b/.builds/ci.yml index 18cdbe47a..797aea074 100644 --- a/.builds/ci.yml +++ b/.builds/ci.yml @@ -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" |