Skip to content

Commit

Permalink
👻 attempt to fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Gaikwad <[email protected]>
  • Loading branch information
pranavgaikwad committed Aug 31, 2023
1 parent 82c48c7 commit 38b648f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
run: |
expected_file=./test-data/analysis-output.yaml
actual_file=./output/output.yaml
sed 's/^[ \t-]*//' $expected_file | sort > /tmp/expected_file
sed 's/^[ \t-]*//' $actual_file | sort > /tmp/actual_file
sed 's/^[ \t-]*//' $expected_file | sort -s > /tmp/expected_file
sed 's/^[ \t-]*//' $actual_file | sort -s > /tmp/actual_file
diff /tmp/expected_file /tmp/actual_file || diff $expected_file $actual_file
- name: Fail if dependencies output does not match expected
run: |
expected_file=./test-data/deps-output.yaml
actual_file=./output/dependencies.yaml
sed 's/^[ \t-]*//' $expected_file | sort > /tmp/expected_file
sed 's/^[ \t-]*//' $actual_file | sort > /tmp/actual_file
sed 's/^[ \t-]*//' $expected_file | sort -s > /tmp/expected_file
sed 's/^[ \t-]*//' $actual_file | sort -s > /tmp/actual_file
diff /tmp/expected_file /tmp/actual_file || diff $expected_file $actual_file

0 comments on commit 38b648f

Please sign in to comment.