tests: run all tests, but exclude tests specific to my computer from CI

controllable via HPI_TESTS_KARLICOSS=true
This commit is contained in:
Dima Gerasimov 2021-02-14 17:31:44 +00:00 committed by karlicoss
parent 6239879245
commit d562f00dca
21 changed files with 93 additions and 72 deletions

7
tests/common.py Normal file
View file

@ -0,0 +1,7 @@
import os
import pytest
skip_if_not_karlicoss = pytest.mark.skipif(
'HPI_TESTS_KARLICOSS' not in os.environ, reason='test only works on @karlicoss data for now',
)