Skip to content

Commit

Permalink
Test ambiguous output
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Sep 13, 2024
1 parent f6af6e7 commit 2a7618f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,13 @@ jobs:
- name: Action failed
if: ${{ steps.job.outcome != 'failure' }}
run: exit 1
- name: Test job name
run: '[[ "${output}" == "${expected}" ]] || exit 1'
env:
output: ${{ steps.job.outputs.name }}
expected: test-ambiguous
- name: Test job ID empty
run: |
[[ -z "${job_id}" ]] || exit 1
env:
job_id: ${{ steps.job.outputs.id }}

0 comments on commit 2a7618f

Please sign in to comment.