From 53561753272c64661f43fc1ca973e68543c19415 Mon Sep 17 00:00:00 2001 From: Dev Aggarwal Date: Fri, 1 Mar 2024 09:33:51 +0530 Subject: [PATCH] CircleCI Commit --- .circleci/config.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..8e7ad9234 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,36 @@ +# This config was automatically generated from your source code +# Stacks detected: cicd:github-actions:.github/workflows,deps:python:.,file:manage.py:.,package_manager:poetry:. +version: 2.1 +orbs: + python: circleci/python@2 +jobs: + test-python: + # Install dependencies and run tests + docker: + - image: cimg/python:>=3.10,<3.13-node + steps: + - checkout + - python/install-packages: + pkg-manager: poetry + - run: + name: Run tests + command: poetry run python manage.py 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' + - run: + name: found github actions config + command: ':' +workflows: + build-and-test: + jobs: + - test-python + # - deploy: + # requires: + # - test-python