Repository navigation
57 lines (52 loc) · 1.61 KB
/
Copy pathcli-e2e.yml
File metadata and controls
57 lines (52 loc) · 1.61 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: CLI E2E
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
env:
CARGO_TERM_COLOR: always
NIGHTLY_TOOLCHAIN: nightly-2025-11-30
RUST_BACKTRACE: "1"
BEADS_VERSION: "0.62.0"
jobs:
cli-e2e:
name: CLI E2E (${{ matrix.suite }})
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
suite:
- e2e_daemon_control
- e2e_dispatch
- e2e_headless
- e2e_retry_and_data
- e2e_scheduling
timeout-minutes: 20
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Install Rust toolchain
run: rustup toolchain install $NIGHTLY_TOOLCHAIN --profile minimal
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
- name: Install dolt
run: |
curl -sSfL https://github.com/dolthub/dolt/releases/latest/download/install.sh | sudo bash
dolt version
- name: Install beads (bd)
run: |
curl -sSfL "https://github.com/steveyegge/beads/releases/download/v${BEADS_VERSION}/beads_${BEADS_VERSION}_linux_amd64.tar.gz" \
| tar xz -C /usr/local/bin bd
bd --version
- name: Run ${{ matrix.suite }}
run: >
bash ./scripts/ci/with-sanitized-env.sh
cargo +$NIGHTLY_TOOLCHAIN test --locked
-p polyphony-cli --test ${{ matrix.suite }} -- --nocapture