From 3c6e0cbda10bed2f6a2a604c4421a7bdf3cdf4eb Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 22 Mar 2020 12:33:35 -0700 Subject: Change python version to ^3.7, and use PyQt 5.14 instead of the very latest. Run tests from poetry --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.circleci') 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 -- cgit v1.2.3-54-g00ecf