mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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.
This commit is contained in:
parent
1b3db25adf
commit
86043b0bbe
1 changed files with 1 additions and 0 deletions
|
|
@ -406,6 +406,7 @@ cross-version-config-tests:
|
|||
"$PYTEST" --junit-xml="$CI_PROJECT_DIR"/junit.xml -n "$TEST_PARALLEL_JOBS" | tee pytest.out.txt
|
||||
- '( ! grep -F "grep: warning:" pytest.out.txt )'
|
||||
after_script:
|
||||
- test -n "${OUT_OF_TREE_WORKSPACE}" && cd "${OUT_OF_TREE_WORKSPACE}"
|
||||
- *display_pytest_failures
|
||||
|
||||
.system_test: &system_test_job
|
||||
|
|
|
|||
Loading…
Reference in a new issue