diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-07 13:33:54 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-07 13:33:54 -0700 |
| commit | 5f7786bb4865a9d9622c3819d8e0b5b67ebf0cfa (patch) | |
| tree | 793bb918edfcd8bdddb252a1a72b9403f85ddd3b | |
| parent | fcf555e12daabd7aedd0bea2c83915dee3ca71fd (diff) | |
Export junit report for integration tests
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | .gitlab/test.yml | 7 | ||||
| -rwxr-xr-x | bin/setup | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -1,5 +1,6 @@ *.gem +/.bundle +/rspec.xml Dockerfile.env pkg tmp -/rspec.xml diff --git a/.gitlab/test.yml b/.gitlab/test.yml index 074d13a..159ca20 100644 --- a/.gitlab/test.yml +++ b/.gitlab/test.yml @@ -32,4 +32,9 @@ integration: entrypoint: [""] stage: test script: - - bash -lc "bundle install --with development test && bundle exec rspec spec/integration" + - bash -lc "./bin/test spec/integration --format RspecJunitFormatter --out rspec.xml" + artifacts: + paths: + - rspec.xml + reports: + junit: rspec.xml @@ -5,4 +5,4 @@ set -e cd "$(dirname "$0")/.." gem install bundler --conservative -v '~> 2.0' -bundle install +bundle install --with "development:test" |
