Skip to content

Commit f9f9941

Browse files
authored
pass env vars to sudo in tests
1 parent 5a3e8d3 commit f9f9941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
ROOTDIR: "${{ matrix.ROOTDIR }}"
5151
WORKDIR: "${{ matrix.WORKDIR }}"
5252
run: |
53-
sudo ./entrypoint.sh
53+
sudo --preserve-env ./entrypoint.sh
5454
5555
test_amd64:
5656
runs-on: ubuntu-20.04
@@ -74,7 +74,7 @@ jobs:
7474
AWS_CLI_VERSION: "${{ matrix.AWS_CLI_VERSION}}"
7575
AWS_CLI_ARCH: "${{ matrix.AWS_CLI_ARCH }}"
7676
run: |
77-
sudo ./entrypoint.sh
77+
sudo --preserve-env ./entrypoint.sh
7878
7979
test_arm64:
8080
# Supports only v2+

0 commit comments

Comments
 (0)