fix: capture GCS metrics when bucket contains hyphens #361
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
# The workflow to check main after push. | |
name: Main checks after push and during pull requests | |
on: | |
push: | |
branches: [ 'main' ] | |
pull_request: | |
branches: [ 'main' ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java-version: [ 11, 17 ] | |
name: Build on ${{ matrix.runs-on }} with jdk ${{ matrix.java-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: temurin | |
- name: Build with Gradle | |
run: make build | |
- name: Run unit tests | |
run: make test | |
- name: Run integration tests | |
run: make integration_test | |
e2e_test: | |
strategy: | |
matrix: | |
java-version: [ 11 ] | |
test: [ 'LocalSystem', 'S3', 'Gcs' ] | |
name: E2E tests for ${{ matrix.test }} with jdk ${{ matrix.java-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build Docker image | |
run: make docker_image | |
- name: Run E2E tests | |
timeout-minutes: 30 | |
run: make E2E_TEST=${{ matrix.test }} e2e_test | |
# TODO: publish docker image |