From 5a48060c06ca3b8dfe3651cc8db88e91274e9862 Mon Sep 17 00:00:00 2001 From: sagarbhandari-0522 <58215263+sagarbhandari-0522@users.noreply.github.com> Date: Mon, 24 Jun 2024 16:02:49 +1200 Subject: [PATCH] CircleCI Commit --- .circleci/config.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .circleci/config.yml 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