.gitlab-ci.yml in defmastership-1.0.19 vs .gitlab-ci.yml in defmastership-1.1.0

- old
+ new

@@ -10,19 +10,33 @@ - git config --global user.name "Your Name" bdd: script: - bundle exec rake test:features + artifacts: + paths: + - features_results.html unit tests: script: - bundle exec rake test:spec + artifacts: + paths: + - rspec_results.html + - coverage/* code_quality: script: - bundle exec rake quality:all +yard documentation: + script: + - bundle exec rake yard + artifacts: + paths: + - doc + bdd ruby2.7: image: ruby:2.7 before_script: - apt-get update - ruby -v @@ -73,5 +87,18 @@ unit tests ruby3.2: image: ruby:3.2 script: - bundle exec rake test:spec +pages: + stage: deploy + script: + - mkdir public + - cp -r doc/* public + - cp "features_results.html" public + - cp "rspec_results.html" public + - cp -r "coverage" public + artifacts: + paths: + - public + only: + - master