-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (53 loc) · 1.7 KB
/
Copy pathe2e.yml
File metadata and controls
58 lines (53 loc) · 1.7 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
58
name: e2e
on:
push:
branches:
- main
paths-ignore:
- "docs/**"
- "docs-site/**"
pull_request:
paths-ignore:
- "docs/**"
- "docs-site/**"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: e2e-${{ github.ref }}
cancel-in-progress: false
jobs:
local-behavior:
name: Local e2e behavior
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run architecture behavior e2e
run: cargo test -p loc-cli --test architecture_behavior -- --test-threads=1
- name: Run shared projection contract e2e
run: cargo test -p loc-cli --test projection_contract -- --test-threads=1
- name: Run doctor diagnostics e2e
run: cargo test -p loc-cli --test doctor -- --test-threads=1
- name: Run local push workflow e2e
run: cargo test -p loc-cli --test e2e_push_workflow -- --test-threads=1
linux-fuse:
name: Linux FUSE e2e
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install FUSE dependencies
run: |
sudo apt-get update
sudo apt-get install -y fuse3 libfuse3-dev pkg-config sqlite3
- name: Verify hosted runner exposes FUSE
run: |
if [ ! -e /dev/fuse ]; then
echo "::error::/dev/fuse is not present. Real online-only FUSE mount e2e cannot run on this runner."
exit 1
fi
- name: Run real Linux FUSE smoke test
run: LOCALITY_FUSE_SMOKE=1 LOCALITY_FUSE_SMOKE_REQUIRED=1 tests/linux_fuse_smoke.sh