Skip to content

Commit

Permalink
add workflow-tester90
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeFalourd committed Mar 27, 2024
1 parent 9a811e2 commit 8584942
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/workflow-tester90.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test 90 # Related to SO: https://stackoverflow.com/questions/78233438/github-action-cannot-get-timeout-status-from-previous-step
on:
push:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Run Spectacles Job
id: spectaclesJob
timeout-minutes: 1
continue-on-error: true
run: |
echo "Waiting 1 minute 30 seconds..."
sleep 90
- name: Print conclusion
run: echo ${{ steps.spectaclesJob.conclusion }}

- name: Print outcome
run: echo ${{ steps.spectaclesJob.outcome }}

- name: Why does this step not run
if: ${{ steps.spectaclesJob.conclusion == 'timeout' }}
run: echo "And why is the conclusion 'success'"

0 comments on commit 8584942

Please sign in to comment.