Skip to content

Commit a01c7d9

Browse files
committed
ci: TEMP run pressure tests
1 parent b51a217 commit a01c7d9

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# TEMP: run memtrack pressure integration tests; delete with this branch.
2+
name: TEMP pressure tests
3+
on:
4+
push:
5+
branches: [tmp/pressure-tests-549]
6+
jobs:
7+
pressure-tests:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [ubuntu-latest, ubuntu-24.04-arm]
13+
steps:
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
with:
16+
lfs: true
17+
submodules: true
18+
- uses: ./.github/actions/install-rust
19+
with:
20+
cache-key: ${{ matrix.os }}-pressure_tests
21+
- uses: ./.github/actions/install-bpf-deps
22+
- name: Run pressure tests
23+
env:
24+
RUST_LOG: debug
25+
run: |
26+
sudo env \
27+
"HOME=$HOME" \
28+
"PATH=$PATH" \
29+
"CARGO_HOME=${CARGO_HOME:-$HOME/.cargo}" \
30+
"RUSTUP_HOME=${RUSTUP_HOME:-$HOME/.rustup}" \
31+
"RUST_LOG=$RUST_LOG" \
32+
"GITHUB_ACTIONS=$GITHUB_ACTIONS" \
33+
$(which cargo) test --release --test pressure_tests -- --test-threads 1 --nocapture
34+
working-directory: crates/memtrack

0 commit comments

Comments
 (0)