Skip to content

Commit

Permalink
fix: pull-request: Change logic so we run "test" and not ":test" if g…
Browse files Browse the repository at this point in the history
…radle-module not specified as arg (#120)
  • Loading branch information
morten-andersen authored Dec 17, 2024
1 parent 215488a commit 991f054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
GHL_PASSWORD: ${{ secrets.GHL_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# set the gradle tasks respecting any gradle-module used as input
run: ./gradlew --no-daemon ${{ format('{0}:ktlintCheck {0}:test', inputs.gradle-module) }} ${{ inputs.gradle-parallel-tests && '--parallel' || ''}}
run: ./gradlew --no-daemon ${{ inputs.gradle-module && format('{0}:ktlintCheck {0}:test', inputs.gradle-module) || 'ktlintCheck test' }} ${{ inputs.gradle-parallel-tests && '--parallel' || ''}}
shell: bash
# Upload test results
- name: Upload test results
Expand Down

0 comments on commit 991f054

Please sign in to comment.