mirror of
https://github.com/systemd/systemd.git
synced 2025-03-29 06:50:16 +03:00
mkosi: Add back --preserve-env when running integrationt tests
The test wrapper script depends on various github actions environment variables so let's make sure those are propagated. (cherry picked from commit 6733b07d43f3524b66b5ab79a96cad192d2280fc)
This commit is contained in:
parent
e71c0f7601
commit
286d0a9464
5
.github/workflows/coverage.yml
vendored
5
.github/workflows/coverage.yml
vendored
@ -104,7 +104,10 @@ jobs:
|
||||
|
||||
- name: Run integration tests
|
||||
run: |
|
||||
sudo mkosi sandbox \
|
||||
# --preserve-env makes sure all the github actions environment variables are propagated which are
|
||||
# used in integration-test-wrapper.py to construct the `gh` command line to download the journals
|
||||
# of failed tests.
|
||||
sudo --preserve-env mkosi sandbox \
|
||||
meson test \
|
||||
-C build \
|
||||
--no-rebuild \
|
||||
|
5
.github/workflows/mkosi.yml
vendored
5
.github/workflows/mkosi.yml
vendored
@ -209,7 +209,10 @@ jobs:
|
||||
MAX_LINES=()
|
||||
fi
|
||||
|
||||
sudo mkosi sandbox \
|
||||
# --preserve-env makes sure all the github actions environment variables are propagated which are
|
||||
# used in integration-test-wrapper.py to construct the `gh` command line to download the journals
|
||||
# of failed tests.
|
||||
sudo --preserve-env mkosi sandbox \
|
||||
env \
|
||||
TEST_PREFER_QEMU=${{ matrix.vm }} \
|
||||
TEST_SKIP=${{ matrix.skip }} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user