mirror of
https://github.com/orhun/systeroid
synced 2024-10-02 21:53:31 +00:00
fix(ci): update sudo command to preserve PATH
This commit is contained in:
parent
cd5e1851de
commit
7a238b90ac
7
.github/fixtures/sysctl.conf
vendored
Normal file
7
.github/fixtures/sysctl.conf
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# This file is used for testing.
|
||||
|
||||
kernel.sysrq = 1
|
||||
kernel.core_uses_pid = 1
|
||||
kernel.dmesg_restrict=0
|
||||
vm.zone_reclaim_mode=1
|
||||
net.mptcp.enabled=0
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -98,7 +98,9 @@ jobs:
|
|||
mv cargo-tarpaulin ~/.cargo/bin/
|
||||
|
||||
- name: Run tests
|
||||
run: NO_COLOR=1 sudo -E cargo tarpaulin --features live-tests --out Xml --verbose
|
||||
run: |
|
||||
sudo -H env "PATH=$PATH" NO_COLOR=1 \
|
||||
cargo tarpaulin --features live-tests --out Xml --verbose
|
||||
|
||||
- name: Upload reports to codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
|
|
Loading…
Reference in a new issue