Skip to content

Commit

Permalink
Remove failure tests because there's no clear way to have pass status
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-z authored Jun 4, 2022
1 parent db51ccc commit 54229dd
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,32 +53,4 @@ jobs:
- run: |
echo "I am protected!"
sleep 5
always_unlock_test_1:
runs-on: ubuntu-latest
name: Test unlocking even after failed (client 1)
steps:
- uses: actions/checkout@v3
- name: Set up mutex
uses: ./
with:
branch: gh-mutex-unlock-test
- run: |
echo "Failing, still should let the mutex free"
sleep 5
exit 1
always_unlock_test_2:
runs-on: ubuntu-latest
name: Test unlocking even after failed (client 2)
needs: [always_unlock_test_1]
if: ${{ always() }}
steps:
- uses: actions/checkout@v3
- run: echo "Should not hang"
- name: Set up mutex
uses: ./
with:
branch: gh-mutex-unlock-test
- run: sleep 5

0 comments on commit 54229dd

Please sign in to comment.