mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +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.
This commit is contained in:
parent
e5038e63e9
commit
6733b07d43
5
.github/workflows/coverage.yml
vendored
5
.github/workflows/coverage.yml
vendored
@ -113,7 +113,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