fix: run builds daily fabric8 latest snapshot release #4860
This file contains 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: Verify Pull Request | |
env: | |
MAVEN_ARGS: -V -ntp -e | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'adr/**' | |
branches: [ main, v1, v2, v3, next ] | |
workflow_dispatch: | |
jobs: | |
check_format_and_unit_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java and Maven | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: 'maven' | |
- name: Check code format | |
run: | | |
./mvnw ${MAVEN_ARGS} formatter:validate -Dconfigfile=$PWD/contributing/eclipse-google-style.xml -pl '!operator-framework-bom' --file pom.xml | |
./mvnw ${MAVEN_ARGS} impsort:check -pl '!operator-framework-bom' --file pom.xml | |
- name: Run unit tests | |
run: ./mvnw ${MAVEN_ARGS} clean install --file pom.xml | |
integration_tests: | |
strategy: | |
matrix: | |
java: [ 11, 17 ] | |
kubernetes: [ 'v1.28.12', 'v1.29.7','1.30.3', '1.31.0' ] | |
uses: ./.github/workflows/integration-tests.yml | |
with: | |
java-version: ${{ matrix.java }} | |
kube-version: ${{ matrix.kubernetes }} | |
checkout-ref: ${GITHUB_REF##*/} | |
httpclient-tests: | |
strategy: | |
matrix: | |
httpclient: [ 'vertx', 'jdk', 'jetty' ] | |
uses: ./.github/workflows/integration-tests.yml | |
with: | |
java-version: 17 | |
kube-version: 'v1.29.1' | |
http-client: ${{ matrix.httpclient }} | |
experimental: true | |
checkout-ref: ${GITHUB_REF##*/} | |
special_integration_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 11, 17 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java and Maven | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: Run Special Integration Tests | |
run: ./mvnw ${MAVEN_ARGS} -B package -P minimal-watch-timeout-dependent-it --file pom.xml |