Skip to content

Commit 54229dd

Browse files
authored
Remove failure tests because there's no clear way to have pass status
1 parent db51ccc commit 54229dd

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -53,32 +53,4 @@ jobs:
5353
- run: |
5454
echo "I am protected!"
5555
sleep 5
56-
57-
always_unlock_test_1:
58-
runs-on: ubuntu-latest
59-
name: Test unlocking even after failed (client 1)
60-
steps:
61-
- uses: actions/checkout@v3
62-
- name: Set up mutex
63-
uses: ./
64-
with:
65-
branch: gh-mutex-unlock-test
66-
- run: |
67-
echo "Failing, still should let the mutex free"
68-
sleep 5
69-
exit 1
70-
71-
always_unlock_test_2:
72-
runs-on: ubuntu-latest
73-
name: Test unlocking even after failed (client 2)
74-
needs: [always_unlock_test_1]
75-
if: ${{ always() }}
76-
steps:
77-
- uses: actions/checkout@v3
78-
- run: echo "Should not hang"
79-
- name: Set up mutex
80-
uses: ./
81-
with:
82-
branch: gh-mutex-unlock-test
83-
- run: sleep 5
8456

0 commit comments

Comments
 (0)