Skip to content
Snippets Groups Projects
Commit 3ce96357 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

.gitlab-ci.yml: DO NOT MERGE - Install tox and try it in CI

parent 597fb53a
No related branches found
No related tags found
No related merge requests found
Pipeline #41394080 failed
......@@ -13,7 +13,7 @@ stages:
variables:
PYTEST_ADDOPTS: "--color=yes"
INTEGRATION_CACHE: "${CI_PROJECT_DIR}/cache/integration-cache"
TEST_COMMAND: 'python3 setup.py test --index-url invalid://uri --addopts --integration'
TEST_COMMAND: 'tox -- --integration'
#####################################################
# Prepare stage #
......@@ -72,6 +72,10 @@ source_dist:
- cd dist && ./unpack.sh
- cd buildstream
# Install tox
- pip3 install tox
- pip3 install tox-venv
script:
- useradd -Um buildstream
- chown -R buildstream:buildstream .
......@@ -134,6 +138,10 @@ tests-unix:
- dnf mark install fuse-libs
- dnf erase -y bubblewrap ostree
# Install tox
- pip3 install tox
- pip3 install tox-venv
# Since the unix platform is required to run as root, no user change required
- ${TEST_COMMAND}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment