◐ Shell
reader mode source ↗
Skip to content
Merged
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
24 changes: 15 additions & 9 deletions .github/workflows/cygwin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,36 @@ jobs:
fail-fast: false

env:
CHERE_INVOKING: 1
TMP: "/tmp"
TEMP: "/tmp"

defaults:
run:
shell: C:\cygwin\bin\bash.exe --noprofile --norc -exo pipefail -o igncr "{0}"

steps:
- name: Force LF line endings
run: |
git config --global core.autocrlf false # Affects the non-Cygwin git.
shell: bash

- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- uses: cygwin/cygwin-install-action@v4
with:
packages: python39 python39-pip python39-virtualenv git

- name: Special configuration for Cygwin's git
run: |
git config --global --add safe.directory "$(pwd)"
git config --global core.autocrlf false
Expand All @@ -57,7 +63,7 @@ jobs:

- name: Install project and test dependencies
run: |
python -m pip install ".[test]"

- name: Show version and platform information
run: |
Expand All @@ -71,4 +77,4 @@ jobs:

- name: Test with pytest
run: |
python -m pytest --color=yes -p no:sugar --instafail -vv
Toggle all file notes Toggle all file annotations