Skip to content

Commit

Permalink
Fix running tests for cirrus-ci_artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Evich <[email protected]>
  • Loading branch information
cevich committed Aug 20, 2021
1 parent 03d3f95 commit dc835ad
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN microdnf update -y && \
perl-YAML perl-interpreter perl-open perl-Data-TreeDumper \
perl-Test perl-Test-Simple perl-Test-Differences \
perl-YAML-LibYAML perl-FindBin \
python3 python3-pip gcc python3-devel \
python3 python3-virtualenv python3-pip gcc python3-devel \
python3-flake8 python3-pep8-naming python3-flake8-docstrings python3-flake8-import-order python3-flake8-polyfill python3-mccabe python3-pep8-naming && \
microdnf clean all && \
rm -rf /var/cache/dnf
Expand Down
1 change: 1 addition & 0 deletions cirrus-ci_artifacts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./testvenv/
28 changes: 19 additions & 9 deletions cirrus-ci_artifacts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
aiohttp==3.7.4
async-timeout==3.0.1
attrs==20.2.0
certifi==2020.6.20
gql==3.0.0a3
multidict==4.7.6
requests==2.24.0
websockets==8.1
yarl==1.5.1
aiohttp>=3.7.4.post0
async-timeout>=3.0.1
attrs>=21.2.0
certifi>=2021.5.30
chardet>=4.0.0
charset-normalizer>=2.0.4
gql>=2.0.0
graphql-core>=2.3.2
idna>=3.2
multidict>=5.1.0
pipe>=1.6.0
promise>=2.3
PyYAML>=5.4.1
requests>=2.26.0
Rx>=1.6.1
six>=1.16.0
typing-extensions>=3.10.0.0
urllib3>=1.26.6
yarl>=1.6.3
9 changes: 8 additions & 1 deletion cirrus-ci_artifacts/test/run_all_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ fi
TESTDIR=$(dirname ${BASH_SOURCE[0]})

cd "$TESTDIR/../"
pip3 install --user --requirement ./requirements.txt
virtualenv testvenv

set -a
source testvenv/bin/activate
set +a

testvenv/bin/python -m pip install --upgrade pip
pip3 install --requirement ./requirements.txt

cd "$TESTDIR"
./test_cirrus-ci_artifacts.py

0 comments on commit dc835ad

Please sign in to comment.