diff options
author | Toon Claes <toon@gitlab.com> | 2021-10-11 15:43:11 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-11-25 13:49:19 +0300 |
commit | 20d731cf426f27c4d2f4c3b025cce91eb3f47f8b (patch) | |
tree | 6fa6655e0b34834408d3e54384eadec1034d362f /.gitlab-ci.yml | |
parent | 297a2047d6aa32da1f2303770c78e17ddab92819 (diff) |
ci: Move junit report artifact to test_template
Specify the location of the junit report in the test_template anchor so
every job using the anchor has it.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ae8f4ebe..9ff92d543 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,7 +55,9 @@ include: - while ! psql -h $PGHOST -U $PGUSER -c 'SELECT 1' > /dev/null; do echo "awaiting Postgres service to be ready..." && sleep 1 ; done && echo "Postgres service is ready!" artifacts: paths: - - ruby/tmp/gitaly-rspec-test.log + - ruby/tmp/gitaly-rspec-test.log + reports: + junit: _build/reports/go-tests-report-go-${GO_VERSION}-git-${GIT_VERSION}.xml when: on_failure expire_in: 1 week @@ -129,9 +131,6 @@ test: # they should all instead use a temporary directory for runtime data. - find . -type d \( -path ./_build -o -path ./ruby \) -prune -o -type d -exec chmod a-w {} \; - make ${TARGET} - artifacts: - reports: - junit: _build/reports/go-tests-report-go-${GO_VERSION}-git-${GIT_VERSION}.xml parallel: matrix: # These definitions are for the non-default Git versions. |