File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 env :
5656 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5757 DCOR_API_KEY : ${{ secrets.DCOR_API_KEY }}
58- # Tests always pass but pytest sometimes fails with 138 or 139 due to
59- # threading issues. We check in the next step whether any tests failed.
6058 run : |
61- coverage run --source=dcoraid -m pytest tests --ignore tests/test_gui.py -x
62- # The GUI tests segfault randomly (test in next step whether it worked)
63- coverage run --source=dcoraid -m pytest tests/test_gui.py -x || exit 0
64- - name : Test whether test passed
65- # check if pytest wrote failures to the "pytest-failures.txt" file
66- # (exits 0 if the file does not exist)
67- run : |
68- test ! -f "pytest-failures.txt"
59+ coverage run --source=dcoraid -m pytest tests
6960 - name : Lint with flake8
7061 run : |
7162 flake8 --exclude _version.py .
You can’t perform that action at this time.
0 commit comments