mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-11 04:09:08 -05:00
Make CircleCI run GUI tests
This commit is contained in:
parent
ecc9ef705a
commit
f913037dee
@ -15,7 +15,7 @@ jobs:
|
|||||||
test-3.5: &test-template
|
test-3.5: &test-template
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/python:3.5.6
|
- image: circleci/python:3.5.6
|
||||||
|
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
# run tests!
|
# run tests!
|
||||||
- run:
|
- run:
|
||||||
name: run flake tests
|
name: run flake tests
|
||||||
command: |
|
command: |
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
# stop the build if there are Python syntax errors or undefined names
|
||||||
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
||||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||||
@ -42,7 +42,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: run tests
|
name: run tests
|
||||||
command: |
|
command: |
|
||||||
xvfb-run pytest --cov=onionshare --cov=onionshare_gui --cov-report=term-missing -vvv tests/
|
xvfb-run pytest --cov=onionshare --cov=onionshare_gui --cov-report=term-missing -vvv tests/ --rungui
|
||||||
|
|
||||||
test-3.6:
|
test-3.6:
|
||||||
<<: *test-template
|
<<: *test-template
|
||||||
|
Loading…
x
Reference in New Issue
Block a user