mirror of
https://github.com/mesonbuild/meson.git
synced 2026-06-30 19:57:45 +00:00
.github/workflows/os_comp.yml: set HOME to /root on OpenSUSE
The D compiler and associated tools are installed under /root and the setup script run during the actual testing expects that `~` will expand to the same path. Because github overrides HOME the dmd environment setup script will not be run which leads to all D related tests being skipped, even though the whole test suite reports as having finished successfully. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
This commit is contained in:
committed by
Dylan Baker
parent
191b801f1d
commit
726d9c0b61
9
.github/workflows/os_comp.yml
vendored
9
.github/workflows/os_comp.yml
vendored
@@ -60,7 +60,14 @@ jobs:
|
||||
# All environment variables are stored inside the docker image in /ci/env_vars.sh
|
||||
# They are defined in the `env` section in each image.json. CI_ARGS should be set
|
||||
# via the `args` array ub the image.json
|
||||
run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS'
|
||||
shell: bash
|
||||
run: |
|
||||
# dmd is installed under /root on OpenSUSE
|
||||
[[ ${{ matrix.cfg.id }} == opensuse ]] && export HOME=/root
|
||||
|
||||
source /ci/env_vars.sh
|
||||
cd $GITHUB_WORKSPACE
|
||||
./tools/run_with_cov.py ./run_tests.py $CI_ARGS
|
||||
|
||||
- name: Aggregate coverage reports
|
||||
run: ./ci/combine_cov.sh
|
||||
|
||||
Reference in New Issue
Block a user