Skip to content

Create examples.yml #134

Create examples.yml

Create examples.yml #134

Workflow file for this run

name: CI
on: [push]
jobs:
bq:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17, 21 ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
- name: Run BQ Tests
run: sbt ";project bq; +test"
dp:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17, 21 ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
- name: Compile DP Tests
run: sbt ";project dp; +Test/compile"
gcs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17, 21 ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
- name: Compile GCS Tests
run: sbt ";project gcs; +Test/compile"
pubsub:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17, 21 ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
- name: Compile PubSub Tests
run: sbt ";project pubsub; +Test/compile"
monitoring:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17, 21 ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
- name: Compile Cloud Monitoring Tests
run: sbt ";project monitoring; +Test/compile"