mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 17:25:09 +02:00
Run tests with sudo for better coverage.
This commit is contained in:
parent
c336644351
commit
309b642e14
2
.github/run_test.sh
vendored
2
.github/run_test.sh
vendored
@ -5,6 +5,8 @@ TARGETS=$@
|
||||
TEST_TARGET="tests"
|
||||
LTESTS="" # all tests by default
|
||||
|
||||
[ -z "${SUDO}" ] || ${SUDO} mkdir -p /var/empty
|
||||
|
||||
set -ex
|
||||
|
||||
for TARGET in $TARGETS; do
|
||||
|
3
.github/workflows/c-cpp.yml
vendored
3
.github/workflows/c-cpp.yml
vendored
@ -30,6 +30,7 @@ jobs:
|
||||
- name: make tests
|
||||
run: ./.github/run_test.sh ${{ matrix.configs }}
|
||||
env:
|
||||
SUDO: sudo
|
||||
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
||||
|
||||
|
||||
@ -62,6 +63,7 @@ jobs:
|
||||
- name: make tests
|
||||
run: ./.github/run_test.sh ${{ matrix.configs }}
|
||||
env:
|
||||
SUDO: sudo
|
||||
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
||||
|
||||
|
||||
@ -88,4 +90,5 @@ jobs:
|
||||
- name: make tests
|
||||
run: ./.github/run_test.sh ${{ matrix.configs }}
|
||||
env:
|
||||
SUDO: sudo
|
||||
TEST_SSH_UNSAFE_PERMISSIONS: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user