]> git.ipfire.org Git - thirdparty/bind9.git/commit
ci: fix after_script for out-of-tree tests
authorTom Krizek <tkrizek@isc.org>
Tue, 22 Aug 2023 15:26:14 +0000 (17:26 +0200)
committerTom Krizek <tkrizek@isc.org>
Wed, 23 Aug 2023 12:06:20 +0000 (14:06 +0200)
commit86043b0bbecb4d5a4273ef669371a9504e15644d
tree2181d5effd47e16b2378c5bef3cf6d475a91efd0
parent1b3db25adfefc7385be9a127929f35eb16a70e49
ci: fix after_script for out-of-tree tests

The commands in after_script run in a new shell, separate from
before_script and script commands. Since the pytest.log.txt is for out
of tree tests is present in the build directory, switch to it (if set)
before running any postprocessing commands.
.gitlab-ci.yml