1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
cache-dependency-path: js/package-lock.json
- 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