Skip to content

Commit

Permalink
fix to use bash
Browse files Browse the repository at this point in the history
  • Loading branch information
itboy87 committed Sep 4, 2024
1 parent fe58ca0 commit 61fd497
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ jobs:
- name: Run tests for ${{ matrix.libBuildType }} on ${{ matrix.config.target }}
continue-on-error: ${{ matrix.config.continueOnError }}
run: |
if [[ "$RUNNER_OS" == "Windows" ]]; then
if [ "${{ runner.os }}" == "Windows" ]; then
./gradlew mingwX64Test -PlibBuildType=${{ matrix.libBuildType }}
else
chmod +x ./runTests.sh
./runTests.sh ${{ matrix.libBuildType }} ${{ matrix.config.tasks }}
fi
shell: bash
working-directory: ${{ github.workspace }}

- name: Upload test results from ksoup-test module if failure
Expand Down

0 comments on commit 61fd497

Please sign in to comment.