diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-18 15:37:46 +0900 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-18 15:11:44 +0000 |
commit | a243a3335b7c113a49b1d5f0daa2c11efe2299bd (patch) | |
tree | c4157a905b9d1a63a412d8ab0dcc691ac51909b4 /.gitlab-ci.yml | |
parent | c1c2040226202ef3a9092005e38ae79dce27a3ee (diff) | |
download | buildstream-a243a3335b7c113a49b1d5f0daa2c11efe2299bd.tar.gz |
.gitlab-ci.yml: Issue #100 - Avoid installing setup.py test_requiresno-install-test-requires
This avoids installing random versions of python packages
from pypi when running the pytest test suite.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80a25dd15..5567ba8dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ before_script: pytest: stage: test script: - - python3 setup.py test + - python3 setup.py test --index-url invalid://uri - mkdir -p coverage-pytest/ - cp .coverage.* coverage-pytest/coverage.pytest artifacts: @@ -59,7 +59,7 @@ pytest_unix: # disappear unless we mark it as user-installed. - dnf mark install fuse-libs - dnf erase -y bubblewrap ostree - - python3 setup.py test + - python3 setup.py test --index-url invalid://uri - mkdir -p coverage-pytest-unix - cp .coverage.* coverage-pytest-unix/coverage.pytest-unix artifacts: |