mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-29 01:16:12 -05:00
9cd1184244
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
39 lines
976 B
YAML
39 lines
976 B
YAML
name: Integration Test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
- "release/**"
|
|
paths:
|
|
- "**.go"
|
|
- "**/go.mod"
|
|
- "**/go.sum"
|
|
- ".github/workflows/test-integration.yml"
|
|
pull_request:
|
|
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
with:
|
|
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
|
|
|
|
- name: Setup bazel
|
|
uses: ./.github/actions/setup_bazel_nix
|
|
|
|
- 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
|