Run tests with sudo for better coverage.
This commit is contained in:
parent
c336644351
commit
309b642e14
|
@ -5,6 +5,8 @@ TARGETS=$@
|
||||||
TEST_TARGET="tests"
|
TEST_TARGET="tests"
|
||||||
LTESTS="" # all tests by default
|
LTESTS="" # all tests by default
|
||||||
|
|
||||||
|
[ -z "${SUDO}" ] || ${SUDO} mkdir -p /var/empty
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
for TARGET in $TARGETS; do
|
for TARGET in $TARGETS; do
|
||||||
|
|
|
@ -30,6 +30,7 @@ jobs:
|
||||||
- name: make tests
|
- name: make tests
|
||||||
run: ./.github/run_test.sh ${{ matrix.configs }}
|
run: ./.github/run_test.sh ${{ matrix.configs }}
|
||||||
env:
|
env:
|
||||||
|
SUDO: sudo
|
||||||
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
||||||
|
|
||||||
|
|
||||||
|
@ -62,6 +63,7 @@ jobs:
|
||||||
- name: make tests
|
- name: make tests
|
||||||
run: ./.github/run_test.sh ${{ matrix.configs }}
|
run: ./.github/run_test.sh ${{ matrix.configs }}
|
||||||
env:
|
env:
|
||||||
|
SUDO: sudo
|
||||||
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
||||||
|
|
||||||
|
|
||||||
|
@ -88,4 +90,5 @@ jobs:
|
||||||
- name: make tests
|
- name: make tests
|
||||||
run: ./.github/run_test.sh ${{ matrix.configs }}
|
run: ./.github/run_test.sh ${{ matrix.configs }}
|
||||||
env:
|
env:
|
||||||
|
SUDO: sudo
|
||||||
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
||||||
|
|
Loading…
Reference in New Issue