Skip to content

Commit

Permalink
Attempt to solve problems with cygwin in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Feb 17, 2025
1 parent a3cc40f commit 6f809a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ jobs:
- name: Run tests
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
run: |
git config --global --add safe.directory "$(cygpath -u "$GITHUB_WORKSPACE")" # workaround for #3408
tox
git config --global --add safe.directory "$(cygpath -u "${{ github.workspace }}")" # workaround for #3408
python -m tox
- name: Create coverage report
if: hashFiles('.coverage') != '' # Rudimentary `file.exists()`
run: |
Expand Down

0 comments on commit 6f809a0

Please sign in to comment.