mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
tests: run all the tests with one command
This is mainly to check if the CI makes it work properly, especially on Ubuntu Focal, as described in #493
This commit is contained in:
parent
81ad3a65c2
commit
3ba9181888
1 changed files with 1 additions and 5 deletions
6
Makefile
6
Makefile
|
@ -42,11 +42,7 @@ lint-apply: lint-black-apply lint-isort-apply ## apply all the linter's suggesti
|
|||
|
||||
.PHONY: test
|
||||
test:
|
||||
# Make each GUI test run as a separate process, to avoid segfaults due to
|
||||
# shared state.
|
||||
# See more in https://github.com/freedomofpress/dangerzone/issues/493
|
||||
pytest --co -q tests/gui | grep -v ' collected' | xargs -n 1 pytest -v
|
||||
pytest -v --cov --ignore dev_scripts --ignore tests/gui --ignore tests/test_large_set.py
|
||||
pytest -v --cov --ignore dev_scripts --ignore tests/test_large_set.py
|
||||
|
||||
|
||||
.PHONY: test-large-requirements
|
||||
|
|
Loading…
Reference in a new issue