Skip to content

Commit

Permalink
fixup! Initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Aug 16, 2024
1 parent dc0c292 commit dc79a52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
expected: test-default-name
- name: Test job ID
run: |
[[ "${job_id}" =~ '^[0-9]+$' ]] || exit 1"
[[ "${job_id}" =~ '^[0-9]+$' ]] || exit 1
env:
job_id: ${{ steps.job.outputs.id }}

Expand All @@ -42,7 +42,7 @@ jobs:
expected: Custom Name
- name: Test job ID
run: |
[[ "${job_id}" =~ '^[0-9]+$' ]] || exit 1"
[[ "${job_id}" =~ '^[0-9]+$' ]] || exit 1
env:
job_id: ${{ steps.job.outputs.id }}

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
run: '[[ "${output}" == "${expected}" ]] || exit 1'
env:
output: ${{ steps.job.outputs.name }}
expected: "Job Name (${{ matrix.build.name }}, ${{ matrix.build.repo }}, ${{ matrix.version }})"
expected: Matrix (${{ matrix.build.name }}, ${{ matrix.build.repo }}, ${{ matrix.version }})
- name: Test job name is distinct
run: |
jobs="$(gh api -X GET "/repos/{owner}/{repo}/actions/runs/${run_id:?}/attempts/${run_attempt:?}/jobs")"
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
run: '[[ "${output}" == "${expected}" ]] || exit 1'
env:
output: ${{ steps.job.outputs.name }}
expected: ${{ github.event_name }} - - ${{ matrix.index }} - ${{ strategy.job-index }}
expected: Matrix Expression - ${{ github.event_name }} - - ${{ matrix.index }} - ${{ strategy.job-index }}
- name: Test job name is distinct
run: |
jobs="$(gh api -X GET "/repos/{owner}/{repo}/actions/runs/${run_id:?}/attempts/${run_attempt:?}/jobs")"
Expand Down

0 comments on commit dc79a52

Please sign in to comment.