From 0777d821ad525879990901081addc890bd11fede Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 9 Jul 2025 15:36:05 +0900 Subject: [PATCH] ci: also set TEST_RUNNER environment variable in coverage test Otherwise, integration-test-wrapper.py will fail. ``` Traceback (most recent call last): File "/home/runner/work/systemd/systemd/test/integration-tests/integration-test-wrapper.py", line 693, in main() ~~~~^^ File "/home/runner/work/systemd/systemd/test/integration-tests/integration-test-wrapper.py", line 677, in main runner = os.environ['TEST_RUNNER'] ~~~~~~~~~~^^^^^^^^^^^^^^^ File "", line 717, in __getitem__ KeyError: 'TEST_RUNNER' ``` Follow-up for c0a5801f7b034f3473c10f627d54671e1588963b. --- .github/workflows/coverage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f3ebe4aaafd..7c06507eb1f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -116,6 +116,8 @@ jobs: # 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_RUNNER=ubuntu-24.04 \ meson test \ -C build \ --no-rebuild \ -- 2.47.3