Skip to content

Commit

Permalink
fixup! Rework the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Dec 18, 2024
1 parent 4d78d20 commit dc057d8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,18 @@ jobs:
- name: Test extracted
run: |
if [[ -f "$output_file" ]]; then
echo -e "Output:\n---"
echo "Output:"
cat -n "$output_file"
echo -e "Expected:\n---"
echo "Expected:"
cat -n <<<"$expected"
echo "---"
else
find .
exit 1
fi
diff --color=always "${output_file:?}" <(echo "${expected:?}")
env:
output_file: workflow_scripts/integration-tests.yaml/job=Test/step=Target_step.sh
expected: |
expected: |-
#!/usr/bin/env bash
set -e
# shellcheck disable=SC2034
Expand Down

0 comments on commit dc057d8

Please sign in to comment.