diff options
author | Micah Lee <micah@micahflee.com> | 2020-03-22 12:33:35 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-03-22 12:33:35 -0700 |
commit | 3c6e0cbda10bed2f6a2a604c4421a7bdf3cdf4eb (patch) | |
tree | 8ac4ab66002897c22eea1685046d2b7b3a8e6f22 /.circleci | |
parent | 5c4e4ce10bd90ce103afaddfda1a625b8df8e062 (diff) | |
download | onionshare-3c6e0cbda10bed2f6a2a604c4421a7bdf3cdf4eb.tar.gz onionshare-3c6e0cbda10bed2f6a2a604c4421a7bdf3cdf4eb.zip |
Change python version to ^3.7, and use PyQt 5.14 instead of the very latest. Run tests from poetry
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 24b7bb68..18b7a5aa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,8 +24,9 @@ jobs: name: install dependencies command: | sudo apt-get update - sudo apt-get install -y python3-pip python3-flask python3-stem python3-pyqt5 python3-crypto python3-socks python3-flask-httpauth python3-distutils python3-pytest python3-pytestqt python3-stdeb python3-all python-nautilus xvfb obfs4proxy - sudo pip3 install pytest-cov flake8 + sudo apt-get install -y python3-pip xvfb + sudo pip3 install poetry flake8 + poetry install # run tests! - run: @@ -39,7 +40,7 @@ jobs: - run: name: run tests command: | - xvfb-run -s "-screen 0 1280x1024x24" pytest --rungui --cov=onionshare --cov=onionshare_gui --cov-report=term-missing -vvv --no-qt-log tests/ + xvfb-run -s "-screen 0 1280x1024x24" poetry run pytest --rungui -vvv --no-qt-log tests/ test-3.7: <<: *test-template |