Skip to content

Commit

Permalink
[#1445] save system test results as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-pavel committed Jul 31, 2024
1 parent fb22131 commit db41e84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ system_test:
- rake systemtest
artifacts:
paths:
- tests/system/test-results/**/*.log
- tests/system/test-results/
expire_in: 1 week
when: always

Expand Down
3 changes: 3 additions & 0 deletions rakelib/50_system_tests.rake
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ desc 'Run system tests
task :systemtest => [PYTEST, DOCKER_COMPOSE, OPEN_API_GENERATOR_PYTHON_DIR, *GRPC_PYTHON_API_FILES, *volume_files, "systemtest:setup_version_envvars"] do
opts = []

# Used in GitLab CI.
opts.append('--junit-xml=test-results/junit.xml')

if !ENV["TEST"].nil?
opts.append "-k", ENV["TEST"]
end
Expand Down

0 comments on commit db41e84

Please sign in to comment.