test #1297
Workflow file for this run
This file contains hidden or 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: test | |
| on: push | |
| jobs: | |
| unit-tests: | |
| if: ${{ github.event.repository.private == true }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: coursier/cache-action@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| - name: Install Thrift | |
| uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: libthrift-java thrift-compiler | |
| version: 1.0 | |
| - name: Install sbt | |
| uses: sbt/setup-sbt@v1 | |
| - name: Check formatting | |
| run: sbt scalafmtCheckAll | |
| - name: Run unit tests | |
| run: sbt +test | |
| it-kinesis: | |
| if: ${{ github.event.repository.private == true }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: coursier/cache-action@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| - name: Install Thrift | |
| uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: libthrift-java thrift-compiler | |
| version: 1.0 | |
| - name: Install sbt | |
| uses: sbt/setup-sbt@v1 | |
| - name: Run integration tests Kinesis | |
| run: sbt "project kinesisDistroless" IntegrationTest/test | |
| it-pubsub: | |
| if: ${{ github.event.repository.private == true }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: coursier/cache-action@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| - name: Install Thrift | |
| uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: libthrift-java thrift-compiler | |
| version: 1.0 | |
| - name: Install sbt | |
| uses: sbt/setup-sbt@v1 | |
| - name: Run integration tests PubSub | |
| run: sbt "project pubsubDistroless" IntegrationTest/test | |
| it-kafka: | |
| if: ${{ github.event.repository.private == true }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: coursier/cache-action@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| - name: Install Thrift | |
| uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: libthrift-java thrift-compiler | |
| version: 1.0 | |
| - name: Install sbt | |
| uses: sbt/setup-sbt@v1 | |
| - name: Run integration tests Kafka | |
| run: sbt "project kafkaDistroless" IntegrationTest/test |