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:
Daan De Meyer
2025-01-23 12:18:21 +01:00
parent e5038e63e9
commit 6733b07d43
2 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -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 \