Skip to content

Commit

Permalink
diff returns 1 if files are diffrent which causes job to abort -- mod…
Browse files Browse the repository at this point in the history
…ify script to ignore diff exit code
  • Loading branch information
maxeeem committed Jan 24, 2024
1 parent 74079a3 commit 64aa7a3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/python-app-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,12 @@ jobs:
workflow: python-app-dev.yml
name: test-report

- name: Print diff
run: |
diff -u output-dev.txt output-pr.txt
- name: Extract number of failures and errors
id: extract_results
run: |
{
echo 'test_results<<EOF'
diff -u output-dev.txt output-pr.txt
diff -u output-dev.txt output-pr.txt || true
echo EOF
} >> "$GITHUB_ENV"
Expand Down

0 comments on commit 64aa7a3

Please sign in to comment.