diff options
author | Simon McVittie <smcv@debian.org> | 2023-02-03 11:46:57 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2023-02-03 15:46:21 +0000 |
commit | 47242308957afa7fb1f631e13a9049e9864862a7 (patch) | |
tree | 3484e136b19fb23070747370c7b26cf6bc9e7c45 | |
parent | d3124929e027f00576f38b6f6213508e53739753 (diff) | |
download | accountsservice-47242308957afa7fb1f631e13a9049e9864862a7.tar.gz |
CI: Fix build in a fork whose name is not accountsservice
I named my fork smcv/accountsservice-branches> and now I regret that
choice.
Signed-off-by: Simon McVittie <smcv@debian.org>
-rwxr-xr-x | .ci/run-tests.sh | 2 | ||||
-rw-r--r-- | .gitlab-ci.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.ci/run-tests.sh b/.ci/run-tests.sh index 816509b..93d616b 100755 --- a/.ci/run-tests.sh +++ b/.ci/run-tests.sh @@ -5,7 +5,7 @@ set -e SRCDIR=`pwd` cd /home/user cp -r $SRCDIR ./ -cd accountsservice +cd "${CI_PROJECT_NAME}" meson setup --localstatedir /var -Db_coverage=true _build # FIXME until we can figure out how to depend on mocklibc being built for the tests meson compile -C _build diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c3a4c4..9808380 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,7 +50,7 @@ test-fedora: script: - useradd -u 5555 -ms /bin/bash user - su user -c .ci/run-tests.sh - - cp -r /home/user/accountsservice/_build/ ./ + - cp -r "/home/user/${CI_PROJECT_NAME}/_build/" ./ - .ci/fail_skipped_tests.py _build/meson-logs/testlog.junit.xml - cat _build/meson-logs/coverage.txt artifacts: |