Skip to content

Commit c249655

Browse files
committed
ci: cleanup actions (#14)
1 parent e67ce31 commit c249655

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/check.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,8 @@ jobs:
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 .

0 commit comments

Comments
 (0)