File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -34,18 +34,21 @@ jobs:
3434 - name : Build and check with Gradle
3535 run : ./gradlew check
3636
37- - name : Perform IO redirection test (*NIX)
37+ - name : Install dos2unix on Linux
3838 if : runner.os == 'Linux'
39- working-directory : ${{ github.workspace }}/text-ui-test
40- run : ./runtest.sh
39+ run : sudo apt-get update && sudo apt-get install -y dos2unix
40+
41+ - name : Install dos2unix on macOS
42+ if : runner.os == 'macOS'
43+ run : brew install dos2unix
4144
42- - name : Perform IO redirection test (MacOS )
43- if : always() && runner.os == 'macOS'
44- working-directory : ${{ github.workspace }}/text-ui-test
45+ - name : Perform IO redirection test (*NIX or macOS )
46+ if : runner.os == 'Linux' || runner.os == 'macOS'
47+ working-directory : ${{ github.workspace }}/text-ui-test
4548 run : ./runtest.sh
4649
4750 - name : Perform IO redirection test (Windows)
4851 if : always() && runner.os == 'Windows'
49- working-directory : ${{ github.workspace }}/text-ui-test
52+ working-directory : ${{ github.workspace }}/text-ui-test
5053 shell : cmd
5154 run : runtest.bat
You can’t perform that action at this time.
0 commit comments