Skip to content

Commit

Permalink
More information required
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Dec 18, 2024
1 parent ca243ee commit 0ebfb91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ jobs:
id: gha-extract-shell-scripts
- name: Test extracted
run: |
set -x
output_file="workflow_scripts/${{ env.workflow_file }}/job=Test/step=Test_extracted.sh"
if [[ ! -f "$output_file" ]]; then
find .
exit 1
fi
[[ "$(cat "${output_file}")" == "${expected}" ]] || exit 1
diff "$output_file" <(echo "$expected")
env:
expected: |
#!/usr/bin/bash
Expand All @@ -35,5 +36,5 @@ jobs:
find .
exit 1
fi
[[ "$(cat "${output_file}")" == "${expected}" ]] || exit 1
diff "$output_file" <(echo "$expected")
workflow_file: integration-tests.yaml

0 comments on commit 0ebfb91

Please sign in to comment.