constellation/.github/workflows/test-integration.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

name: Integration Test
on:
workflow_dispatch:
push:
branches:
- main
- "release/**"
2022-09-03 11:47:47 -04:00
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
- ".github/workflows/test-integration.yml"
pull_request:
2022-09-03 11:47:47 -04:00
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
- ".github/workflows/test-integration.yml"
jobs:
integration-test:
runs-on: ubuntu-22.04
env:
CTEST_OUTPUT_ON_FAILURE: True
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
2022-09-14 09:14:26 -04:00
- name: Setup bazel
uses: ./.github/actions/setup_bazel_nix
with:
useCache: "true"
buildBuddyApiKey: ${{ secrets.BUILDBUDDY_ORG_API_KEY }}
- name: Integration Tests
env:
TMPDIR: ${{ runner.temp }}
run: sudo -E "PATH=$PATH" bazel test //... --config=nostamp --remote_download_minimal --config=integration-only --spawn_strategy=standalone