mirror of
https://github.com/onionshare/onionshare.git
synced 2025-10-10 04:08:43 -04:00
Change python version to ^3.7, and use PyQt 5.14 instead of the very latest. Run tests from poetry
This commit is contained in:
parent
4465ca8a72
commit
998451b528
3 changed files with 20 additions and 432 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue