]> git.ipfire.org Git - thirdparty/systemd.git/commit
ci: make the build dir accessible when running w/o privileges
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 6 Mar 2024 14:04:22 +0000 (15:04 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 6 Mar 2024 15:10:47 +0000 (16:10 +0100)
commitc538fecc617d7a5fe0048b1df49f69dead92353f
tree9cc189d0518fb8d9f5f782489b7c41345c8d0dd8
parentda95494ca3857c42d55ada987d50c254478d185c
ci: make the build dir accessible when running w/o privileges

Otherwise the unprivileged part of test-execute gets silently skipped:

/* test_run_tests_unprivileged */
Successfully forked off '(test-execute-unprivileged)' as PID 20998.
...
pin_callout_binary: build dir binary: /home/runner/work/systemd/systemd/build/systemd-executor
pin_callout_binary: open(/home/runner/work/systemd/systemd/build/systemd-executor)=-13
Failed to pin executor binary: No such file or directory
(test-execute-unprivileged): manager_new, skipping tests: No such file or directory
(test-execute-unprivileged) succeeded.
.github/workflows/unit_tests.sh