Skip to content

Commit

Permalink
closer
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Dec 18, 2024
1 parent 975645b commit 519e8cc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,19 @@ jobs:
find .
exit 1
fi
diff --color=always "$output_file" <(echo "$expected")
cat "$output_file"
diff --color=always <(sed 's/^(expected)=.*$/\1='\''\1'\''/' "$output_file") <(echo "$expected")
env:
expected: |
#!/usr/bin/env bash
set -e
expected='$expected'
workflow_file='integration-tests.yaml'
# ---
output_file="workflow_scripts/:env.workflow_file:/job=Test/step=Test_extracted.sh"
if [[ ! -f "$output_file" ]]; then
find .
exit 1
fi
diff --color=always "$output_file" <(echo "$expected")
diff --color=always <(sed 's/^(expected)=.*$/\1='\''\1'\''/' "$output_file") <(echo "$expected")
workflow_file: integration-tests.yaml

0 comments on commit 519e8cc

Please sign in to comment.