.circleci/config.yml in yamls-0.2.0 vs .circleci/config.yml in yamls-0.2.1

- old
+ new

@@ -46,16 +46,40 @@ command: cd example/rails5 && bundle exec rails db:migrate - run: name: Run test command: cd example/rails5 && bundle exec rake test + test_rails6_0_0: + docker: + - image: cimg/ruby:3.0.2-node + executor: ruby/default + steps: + - checkout + - run: + name: Install dependencies + command: sudo apt-get update -y && sudo apt-get install -y libsqlite3-dev + - run: + name: Which bundler? + command: bundle -v + - run: + name: Bundle install + command: cd example/rails6.0.0 && bundle install --path vendor/bundle + - run: + name: Setup db + command: cd example/rails6.0.0 && bundle exec rails db:migrate + - run: + name: Run test + command: cd example/rails6.0.0 && bundle exec rake test # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows workflows: build_and_test: # This is the name of the workflow, feel free to change it to better match your workflow. # Inside the workflow, you define the jobs you want to run. jobs: - build - test_rails5: + requires: + - build + - test_rails6_0_0: requires: - build