.gitlab-ci.yml in asciidoctor-defmastership-1.0.10 vs .gitlab-ci.yml in asciidoctor-defmastership-1.1.0

- old
+ new

@@ -5,18 +5,55 @@ - ruby -v - which ruby - gem install bundler --no-document - bundle install --jobs $(nproc) "${FLAGS[@]}" +bdd: + script: + - bundle exec rake test:features + +yard documentation: + script: + - bundle exec rake yard + artifacts: + paths: + - doc + unit tests: script: - bundle exec rake test:spec -rubocop: +code quality: script: - - bundle exec rake quality:rubocop + - bundle exec rake quality:all +bdd ruby2.7: + image: ruby:2.7 + before_script: + - apt-get update + - ruby -v + - which ruby + - gem install bundler -v 2.4.22 --no-document + - bundle install --jobs $(nproc) "${FLAGS[@]}" + script: + - bundle exec rake test:features + +bdd ruby3.0: + image: ruby:3.0 + script: + - bundle exec rake test:features + +bdd ruby3.1: + image: ruby:3.1 + script: + - bundle exec rake test:features + +bdd ruby3.2: + image: ruby:3.2 + script: + - bundle exec rake test:features + unit tests ruby2.7: image: ruby:2.7 before_script: - apt-get update - ruby -v @@ -38,5 +75,16 @@ unit tests ruby3.2: image: ruby:3.2 script: - bundle exec rake test:spec + +pages: + stage: deploy + script: + - mkdir public + - cp -r doc/* public + artifacts: + paths: + - public + only: + - master