@@ -64,23 +64,23 @@ jobs:
6464
6565 echo "OsType: $OSTYPE"
6666
67- ./gradlew clean assemble test || { echo 'Compilation or Unit tests failed' ; exit 1; }
67+ gradle clean assemble test || { echo 'Compilation or Unit tests failed' ; exit 1; }
6868
6969 if [[ "$OSTYPE" == "linux"* ]]; then
7070 echo "Linux test..."
71- ./gradlew -DosType=$OSTYPE -DincludeTags='posix | linux' integration
71+ gradle -DosType=$OSTYPE -DincludeTags='posix | linux' integrationTest
7272 elif [[ "$OSTYPE" == "darwin"* ]]; then
7373 echo "MacOs test..."
74- ./gradlew -DosType=$OSTYPE -DincludeTags='posix | macos' integration
74+ gradle -DosType=$OSTYPE -DincludeTags='posix | macos' integrationTest
7575 elif [[ "$OSTYPE" == "cygwin" ]]; then
7676 echo "Cygwin test..."
77- ./gradlew -DosType=$OSTYPE -DincludeTags='posix | cygwin' integration
77+ gradle -DosType=$OSTYPE -DincludeTags='posix | cygwin' integrationTest
7878 elif [[ "$OSTYPE" == "msys" ]]; then
7979 echo "MSys test..."
80- ./gradlew -DosType=$OSTYPE -DincludeTags='posix | msys' integration
80+ gradle -DosType=$OSTYPE -DincludeTags='posix | msys' integrationTest
8181 elif [[ "$OSTYPE" == "freebsd"* ]]; then
8282 echo "FreeBsd test..."
83- ./gradlew -DosType=$OSTYPE -DincludeTags='posix' integration
83+ gradle -DosType=$OSTYPE -DincludeTags='posix' integrationTest
8484 else
8585 echo "Unknown OS"
8686 exit 1
9191 shell : cmd
9292 run : |
9393 echo "Windows test..."
94- .\gradlew.bat clean assemble test
94+ gradle clean assemble test
9595 if %errorlevel% neq 0 exit /b %errorlevel%
96- .\gradlew.bat -DosType=windows -DincludeTags="windows" integration
96+ gradle -DosType=windows -DincludeTags="windows" integrationTest
9797
9898 - name : Install Cygwin (only Windows)
9999 if : matrix.variant == 'cygwin'
@@ -107,5 +107,5 @@ jobs:
107107 echo "Cygwin test..."
108108 echo "Changing directory to $GITHUB_WORKSPACE ..."
109109 cd $GITHUB_WORKSPACE
110- ./gradlew clean assemble test || { echo 'Compilation or Unit tests failed' ; exit 1; }
111- ./gradlew -DosType=$OSTYPE -DincludeTags='posix | cygwin' integration
110+ gradle clean assemble test || { echo 'Compilation or Unit tests failed' ; exit 1; }
111+ gradle -DosType=$OSTYPE -DincludeTags='posix | cygwin' integrationTest
0 commit comments