File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292 strategy :
9393 fail-fast : false
9494 matrix :
95- os : [ubuntu-latest, ubuntu-24.04-arm]
95+ os : [ubuntu-latest, ubuntu-24.04-arm, codspeed-macro ]
9696 # Each memtrack integration test binary runs its cases serially
9797 # (eBPF tracker can't overlap with itself in one process), so we
9898 # shard at the test-binary level to parallelize across jobs.
@@ -126,8 +126,11 @@ jobs:
126126 run : sudo -E $(which cargo) test --lib --test ${{ matrix.test }} -- --test-threads 1 --nocapture
127127 working-directory : crates/memtrack
128128
129- # Since we ran the tests with sudo, the build artifacts will have root ownership
129+ # Since we ran the tests with sudo, the build artifacts will have root
130+ # ownership; always restore it so a failed run cannot poison the
131+ # workspace of later jobs on persistent self-hosted runners.
130132 - name : Clean up
133+ if : always()
131134 run : sudo chown -R $USER:$USER . ~/.cargo
132135
133136 benchmarks :
You can’t perform that action at this time.
0 commit comments