Initial implementation of shared subscriptions #1
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
# This workflow is copied from maven_build.yml and is temporarily used to throubleshoot failure that appears only in CI | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
java: [17] | |
arch: [x64] # when ARM will be present add aarch64 | |
fail-fast: false | |
max-parallel: 4 | |
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Cache maven repository | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.m2/repository | |
key: ${{ matrix.arch }}-${{ runner.os }}-maven-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ matrix.arch }}-${{ runner.os }}-maven-${{ matrix.java }} | |
${{ matrix.arch }}-${{ runner.os }}-maven | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
architecture: ${{ matrix.arch }} | |
- name: Test with Maven | |
# run: mvn verify -B --file pom.xml | |
run: ./mvnw -Dtest=SharedSubscriptionTest test -pl broker --file pom.xml | |