diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-28 03:26:27 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-28 03:31:45 +0300 |
commit | 6c23cd2df2f1032b71fd94b52356f2a892ad4f49 (patch) | |
tree | 16e50678b68be7108259a4d2d49cbeb1bb0f2e5a | |
parent | README: update (diff) | |
download | setup-cygwin-6c23cd2df2f1032b71fd94b52356f2a892ad4f49.tar.gz setup-cygwin-6c23cd2df2f1032b71fd94b52356f2a892ad4f49.zip |
workflows/test: add job "shell: SHELLOPTS"
-rw-r--r-- | .github/workflows/test.yml | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d00d04..14a8134 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -76,8 +76,8 @@ jobs: python3.exe --version if: matrix.hardlinks - shell: - name: 'shell:' + shell_igncr: + name: 'shell: -o igncr' runs-on: windows-2019 steps: - name: Checkout @@ -98,3 +98,28 @@ jobs: } basic shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' + + shell_shellopts: + name: 'shell: SHELLOPTS' + runs-on: windows-2019 + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Clean up PATH + uses: egor-tensin/cleanup-path@v1 + if: runner.os == 'Windows' + + - name: Set up Cygwin + uses: ./ + + - name: Run basic commands + run: | + basic() { + ls -Al + pwd + } + basic + shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail '{0}' + env: + SHELLOPTS: igncr |