Added bigquery support #5
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: Operator tests Workflow | |
on: | |
push: | |
paths-ignore: | |
- '.gitignore' | |
- 'LICENSE' | |
- 'README*' | |
- 'docs/**' | |
- '.github/workflows/**' | |
branches: [main] | |
pull_request: | |
paths-ignore: | |
- '.gitignore' | |
- 'LICENSE' | |
- 'README*' | |
- 'docs/**' | |
branches: [main] | |
concurrency: | |
# Only run once for latest commit per ref and cancel other (previous) runs. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
name: Operator Basic tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup Minikube-Kubernetes | |
uses: manusa/actions-setup-minikube@v2.7.2 | |
with: | |
minikube version: v1.28.0 | |
kubernetes version: v1.25.0 | |
github token: ${{ secrets.GITHUB_TOKEN }} | |
start args: '--force' | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Run the tests in local mode | |
run: ./mvnw clean verify -P '!external_repos' -DskipOperatorTests=false -pl operator/controller -am | |
- name: Run the tests in remote mode | |
run: | | |
./mvnw clean package -P '!external_repos' -pl operator/controller -am -Dquarkus.container-image.build=true | |
./mvnw clean verify -P '!external_repos' -DskipOperatorTests=false -pl operator/controller -am -Dtest.operator.deployment=remote -Dtest.operator.deployment-target=minikube |