Fix maven release #51
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run BioKotlin Tests When Opening a PR | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
branches: | |
- master # Branch you are merging into | |
jobs: | |
test: | |
name: BioKotlin Gradle Build | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
checks: write # See: https://github.com/mikepenz/action-junit-report/issues/23#issuecomment-1412597753 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2.4.2 | |
with: | |
gradle-version: 8.7 | |
generate-job-summary: false | |
- run: gradle build | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v3 | |
if: success() || failure() | |
with: | |
report_paths: '**/build/test-results/test/TEST-*.xml' | |
check_name: BioKotlin Test Report | |
job_summary: true | |
detailed_summary: true |