Skip to content

Commit

Permalink
Add superuser runner
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Javier Honduvilla Coto <javierhonduco@gmail.com>
  • Loading branch information
javierhonduco committed Sep 4, 2022
1 parent 636531c commit 7c14cd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.x86_64-unknown-linux-gnu]
runner = "sudo -E"
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ jobs:
run: tools/pull_ruby_images
- name: Run integration tests
run: |
export RUSTFLAGS='-L /usr/lib/x86_64-linux-gnu'
export RUST_BACKTRACE=1
# Running only 3.1.2 for a bit, will enable the rest once we make sure
# that things are looking good
ls target/debug/deps/rbperf-* | grep -v "\.d" | xargs -I{} sudo {} rbperf::tests::rbperf_test_3_1_2 --nocapture
cargo test -- rbperf::tests::rbperf_test_3_1_2 --nocapture

0 comments on commit 7c14cd0

Please sign in to comment.