name: distributed_cli Integration Tests
# Reusable workflow: referenced via `uses: ./.github/workflows/integration-distributed-cli.yaml`.
# Runs the `distributed` integration tests, including the `#[ignore]`d manifest-harness
# e2e tests (describe/schema) that compile a fixture service via nested cargo.
on:
workflow_call:
jobs:
distributed-cli:
name: distributed_cli Integration Tests
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
with:
toolchain: stable
- name: Install Bats
uses: bats-core/bats-action@77d6fb60505b4d0d1d73e48bd035b55074bbfb43 # 4.0.0
with:
bats-version: 1.14.0
support-install: false
assert-install: false
detik-install: false
file-install: false
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run distributed_cli integration tests (incl. harness e2e)
run: cargo test -p distributed_cli --verbose -- --include-ignored
- name: Run lifecycle CLI acceptance tests
run: make test-cli-lifecycle