Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

"Created by snbot" #4105

"Created by snbot"

"Created by snbot" #4105

Workflow file for this run

name: kop tests
on:
pull_request:
branches:
- master
- branch-*
push:
branches:
- master
- branch-*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: License check
run: mvn -ntp -B license:check
- name: Style check
run: mvn -ntp -B checkstyle:check
- name: Build with Maven skipTests
run: mvn clean install -ntp -B -DskipTests
- name: Building JavaDocs
run: mvn -ntp -B javadoc:jar
- name: Spotbugs check
run: mvn -ntp -B spotbugs:check
- name: kafka-impl test after build
run: mvn test -ntp -B -DfailIfNoTests=false -pl kafka-impl
- name: kafka-payload-processor test after build
run: mvn test -ntp -B -DfailIfNoTests=false -pl kafka-payload-processor-shaded-tests
- name: Start and init the oauth server
run: ./ci/init_hydra_oauth_server.sh
timeout-minutes: 5
- name: oauth-client test after build
run: mvn test -ntp -B -DfailIfNoTests=false -pl oauth-client
- name: tests module
run: mvn test -ntp -B -DfailIfNoTests=false '-Dtest=!KafkaIntegration*Test' -pl tests
timeout-minutes: 60
- name: package surefire artifacts
if: 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: failure()
with:
name: surefire-artifacts
path: artifacts.zip