Skip to content

Commit

Permalink
Invoke bash in a mode that ignores CRs
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jun 26, 2024
1 parent 4f36da4 commit 9fcd5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
run: |- # Strip newlines to prevent bash on Windows from failing on CR
python -m pip install coverage
python -m coverage xml
shell: bash
shell: bash -Eeluo pipefail -o igncr {0}
- name: Publish coverage
if: hashFiles('coverage.xml') != '' # Rudimentary `file.exists()`
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 9fcd5dc

Please sign in to comment.