Skip to content

Commit

Permalink
Make proper tests
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Aug 13, 2024
1 parent b9134b6 commit cf1d51e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./job-name/
id: job-name
- run: |
if [[ "${output}" != "${expected}" ]]; then
exit 1
fi
env:
output: ${{ steps.job-name.outputs.job-name }}
expected: "Job Name"
test-job-name-matrix:
name: Job Name
Expand All @@ -179,6 +187,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./job-name/
id: job-name
- run: |
if [[ "${output}" != "${expected}" ]]; then
exit 1
fi
env:
output: ${{ steps.job-name.outputs.job-name }}
expected: "Job Name (${{ matrix.build.name }}, ${{ matrix.build.repo }}, ${{ matrix.version }})"
test-job-name-matrix-expr:
name: ${{ github.job }}
Expand All @@ -194,3 +210,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./job-name/
id: job-name
- run: |
if [[ "${output}" != "${expected}" ]]; then
exit 1
fi
env:
output: ${{ steps.job-name.outputs.job-name }}
expected: ${{ github.job }}

0 comments on commit cf1d51e

Please sign in to comment.