[maven-release-plugin] prepare release v3.1.0.3 #225
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: kop proxy tests | |
on: | |
push: | |
branches: | |
- 3.1_ds | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Start and init the oauth server | |
run: ./ci/init_hydra_oauth_server.sh | |
timeout-minutes: 5 | |
- name: Setup ssh access to build runner VM | |
# ssh access is enabled for builds in own forks | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: ./.github/actions/ssh-access | |
with: | |
limit-access-to-actor: true | |
- name: Build with Maven skipTests | |
run: mvn clean checkstyle:check install -ntp -B -DskipTests | |
- name: tests module | |
run: mvn test -ntp -B -DfailIfNoTests=false '-Dtest=!Docker*Test,*Proxy*Test' -pl tests | |
timeout-minutes: 120 | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: package surefire artifacts | |
if: ${{ cancelled() || failure() }} | |
run: | | |
rm -rf artifacts | |
mkdir artifacts | |
find . -type d -name "*surefire*" -exec cp --parents -R {} artifacts/ \; | |
zip -r artifacts.zip artifacts | |
- uses: actions/upload-artifact@master | |
name: upload surefire-artifacts | |
if: ${{ cancelled() || failure() }} | |
with: | |
name: surefire-artifacts | |
path: artifacts.zip |