diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-08-21 18:16:44 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-08-21 18:16:44 +0900 |
commit | dc78512d6534cbef1d4934c8434a39dbbc78d8d0 (patch) | |
tree | 3f75bf90a863decbea24d16f911f0cb99ba6284f | |
parent | 5ee1816a15a2a67bda4ec31dcbb03330eaee8ffb (diff) | |
download | buildstream-tristan/pin-pytest-pylint.tar.gz |
Testingtristan/pin-pytest-pylint
-rw-r--r-- | .gitlab-ci.yml | 7 | ||||
-rw-r--r-- | dev-requirements.txt | 12 |
2 files changed, 13 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f39c09a0..97e86f519 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,6 +66,9 @@ source_dist: - chown -R buildstream:buildstream buildstream - cd buildstream + # Install the pinned dev-requirements.txt + - pip3 install -r dev-requirements.txt + # Run the tests from the source distribution, We run as a simple # user to test for permission issues - su buildstream -c 'python3 setup.py test --index-url invalid://uri --addopts --integration' @@ -115,6 +118,9 @@ tests-unix: # Unpack and get into dist/buildstream - cd dist && ./unpack.sh && cd buildstream + # Install the pinned dev-requirements.txt + - pip3 install -r dev-requirements.txt + # Since the unix platform is required to run as root, no user change required - python3 setup.py test --index-url invalid://uri --addopts --integration @@ -207,6 +213,7 @@ coverage: coverage: '/TOTAL +\d+ +\d+ +(\d+\.\d+)%/' script: - cd dist && ./unpack.sh && cd buildstream + - pip3 install -r dev-requirements.txt - pip3 install --no-index . - mkdir report - cd report diff --git a/dev-requirements.txt b/dev-requirements.txt index 80e87aca0..2df3f52d5 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,10 +1,10 @@ coverage == 4.4.0 -pep8 +pep8 == 1.7.1 pytest == 3.7.1 pylint == 2.1.1 pytest-cov >= 2.5.0 -pytest-datafiles -pytest-env -pytest-pep8 -pytest-pylint -pytest-xdist +pytest-datafiles == 1.0 +pytest-env == 0.6.2 +pytest-pep8 == 1.0.6 +pytest-pylint == 0.12.1 +pytest-xdist == 1.22.5 |