Skip to content

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

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

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

Workflow file for this run

name: kop mvn build check and kafka-impl test
on:
push:
branches:
- 2.10_ds
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: License check
run: mvn -ntp -B license:check
- name: Build with Maven skipTests
run: mvn clean install -ntp -B -DskipTests
- 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
# The DistributedClusterTest is hard to pass in CI tests environment, we disable it first
# the track issue: https://github.com/streamnative/kop/issues/184
# - name: DistributedClusterTest
# run: mvn test -ntp -B '-Dtest=DistributedClusterTest' -pl tests
- 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