-
Notifications
You must be signed in to change notification settings - Fork 270
53 lines (49 loc) · 1.63 KB
/
integration.yml
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
# Run integration tests
name: integration
permissions:
contents: read
on:
pull_request:
paths:
- Cargo.lock
- "**/*.rs"
- "**/*.toml"
- justfile
- .github/workflows/integration.yml
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings -A deprecated"
RUSTUP_MAX_RETRIES: 10
# Run only the app-level tests. These may take longer to compile (usually due to very large stack
# types) and have the potential to be flakey as they depend on opening sockets and may have timing
# sensitivity.
jobs:
test:
timeout-minutes: 20
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v40-rust
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just fetch
- run: |
just test-crate linkerd-app --no-run \
--package=linkerd-app-core \
--package=linkerd-app-gateway \
--package=linkerd-app-inbound \
--package=linkerd-app-outbound \
--package=linkerd-app-test
- run: |
just test-crate linkerd-app \
--package=linkerd-app-core \
--package=linkerd-app-gateway \
--package=linkerd-app-inbound \
--package=linkerd-app-outbound \
--package=linkerd-app-test
- run: |
just test-crate linkerd-app-integration --no-run \
--no-default-features --features=flakey-in-coverage
- run: |
just test-crate linkerd-app-integration \
--no-default-features --features=flakey-in-coverage