Skip to content

[maven-release-plugin] prepare for next development iteration #127

[maven-release-plugin] prepare for next development iteration

[maven-release-plugin] prepare for next development iteration #127

Workflow file for this run

name: Master Build
on:
push:
branches:
- master
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# We do one OS only to reduce resource utilization. To do macOS to this would be needed:
#os: [ubuntu-20.04, macOS-latest]
os: [ubuntu-latest]
java: [21]
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: ${{ matrix.java }}
- name: Build, test (no integration) and Sonarqube analyse
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# The following builds the project, runs the tests with coverage (no integration tests) and then executes the SonarCloud analysis
run: mvn verify -pl '!biojava-integrationtest' org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=biojava_biojava -Dsonar.organization=biojava --no-transfer-progress