diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..d7cd8a4f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,32 @@ +# This config was automatically generated from your source code +# Stacks detected: deps:ruby:. +version: 2.1 +orbs: + ruby: circleci/ruby@2.0.1 +jobs: + test-ruby: + # Install gems, run rails tests + docker: + - image: cimg/ruby:3.2-node + steps: + - checkout + - ruby/install-deps + - run: + name: rails test + command: bundle exec rails test + deploy: + # This is an example deploy job, not actually used by the workflow + docker: + - image: cimg/base:stable + steps: + # Replace this with steps to deploy to users + - run: + name: deploy + command: '#e.g. ./deploy.sh' +workflows: + build-and-test: + jobs: + - test-ruby + # - deploy: + # requires: + # - test-ruby