Skip to content

Workflow file for this run

name: Build and run integration tests on PR
# Controls when the action will run.
on:
# Triggers the workflow on push request events but only for the main branch
pull_request:
branches: [ main ]
paths:
- 'src/**/*'
- 'pom.xml'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1.4
with:
sdk: 2.19.3
- name: Build with Maven using JDK11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: adopt
- name: Build with Maven
run: mvn -Dmaven.wagon.http.retryHandler.count=5 --batch-mode verify
- name: Upload build result
uses: actions/upload-artifact@v3
with:
name: integration_tests_result.log
path: target/it/k8s_null/build.log