Skip to content

v0.5.14-rc2

v0.5.14-rc2 #46

Workflow file for this run

# Copyright 2024 The Cross-Media Measurement Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Release test
on:
release:
types: [published]
workflow_dispatch:
jobs:
build-test:
name: Build and test
runs-on: ubuntu-22.04
env:
CLUSTER_LOGS_PATH: cluster-logs
steps:
- name: Check out revision
uses: actions/checkout@v4
- uses: ./.github/actions/free-disk-space
- name: Write auth.bazelrc
env:
BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}
run: |
cat << EOF > auth.bazelrc
build --remote_header=x-buildbuddy-api-key=$BUILDBUDDY_API_KEY
EOF
- name: Write ~/.bazelrc
run: |
cat << EOF > ~/.bazelrc
common --config=ci
EOF
- name: Run tests
id: run-tests
run: >
bazelisk test --test_output=streamed
//src/test/kotlin/org/wfanet/measurement/integration/deploy/gcloud:GCloudSpannerInProcessReachMeasurementAccuracyTest
- name: Upload Bazel testlogs
continue-on-error: true
uses: world-federation-of-advertisers/actions/bazel-upload-testlogs@v2
if: failure() && (steps.run-tests.outcome == 'failure')