This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
[transaction] Implement producer state manager recovery #4143
Workflow file for this run
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 tests | |
on: | |
pull_request: | |
branches: | |
- master | |
- branch-* | |
push: | |
branches: | |
- master | |
- branch-* | |
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: 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: schema registry test after build | |
run: mvn test -ntp -B -DfailIfNoTests=false -pl schema-registry | |
- 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: Upload to Codecov | |
uses: codecov/codecov-action@v3 | |
- 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 |