From 49bb7b5f3065d3459e894a0d1e6d85d46a441e31 Mon Sep 17 00:00:00 2001 From: Rizwan Date: Sun, 26 Apr 2026 20:05:03 +0530 Subject: [PATCH 1/2] Add .circleci/config.yml --- .circleci/config.yml | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0df0e1b..bb68b14 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,45 +1,31 @@ # Use the latest 2.1 version of CircleCI pipeline process engine. # See: https://circleci.com/docs/reference/configuration-reference - -# For a detailed guide to building and testing with Python, read the docs: -# https://circleci.com/docs/language-python/ for more details version: 2.1 -# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects. -# See: https://circleci.com/docs/orbs/use/orb-intro/ -orbs: - # See the Python orb documentation here: https://circleci.com/developer/orbs/orb/circleci/python - python: circleci/python@2.1.1 - # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#jobs-overview & https://circleci.com/docs/reference/configuration-reference/#jobs jobs: - build-and-test: + say-hello: # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. # See: https://circleci.com/docs/guides/execution-managed/executor-intro/ & https://circleci.com/docs/reference/configuration-reference/#executor-job docker: # Specify the version you desire here - # See:https://circleci.com/developer/images/image/cimg/python - - image: cimg/python:3.12 + # See: https://circleci.com/developer/images/image/cimg/base + - image: cimg/base:current # Add steps to the job # See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#steps-overview & https://circleci.com/docs/reference/configuration-reference/#steps steps: # Checkout the code as the first step. - checkout - - python/install-packages: - pkg-manager: pip - # app-dir: ~/project/package-directory/ # If your requirements.txt isn't in the root directory. - # pip-dependency-file: test-requirements.txt # if you have a different name for your requirements file, maybe one that combines your runtime and test requirements. - run: - name: Run tests - # This assumes pytest is installed via the install-package step above - command: pytest + name: "Say hello" + command: "echo Hello, World!" # Orchestrate jobs using workflows # See: https://circleci.com/docs/guides/orchestrate/workflows/ & https://circleci.com/docs/reference/configuration-reference/#workflows workflows: - sample: # This is the name of the workflow, feel free to change it to better match your workflow. + say-hello-workflow: # 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-and-test \ No newline at end of file + - say-hello \ No newline at end of file From 9f4878791cbfd88ab99624db4e41147905926e0c Mon Sep 17 00:00:00 2001 From: Rizwan Date: Sun, 26 Apr 2026 20:07:21 +0530 Subject: [PATCH 2/2] Add .circleci/config.yml --- .circleci/config.yml | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bb68b14..8ac30b6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,30 +2,22 @@ # See: https://circleci.com/docs/reference/configuration-reference version: 2.1 -# Define a job to be invoked later in a workflow. -# See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#jobs-overview & https://circleci.com/docs/reference/configuration-reference/#jobs -jobs: - say-hello: - # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. - # See: https://circleci.com/docs/guides/execution-managed/executor-intro/ & https://circleci.com/docs/reference/configuration-reference/#executor-job - docker: - # Specify the version you desire here - # See: https://circleci.com/developer/images/image/cimg/base - - image: cimg/base:current - - # Add steps to the job - # See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#steps-overview & https://circleci.com/docs/reference/configuration-reference/#steps - steps: - # Checkout the code as the first step. - - checkout - - run: - name: "Say hello" - command: "echo Hello, World!" +# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects. +# See: https://circleci.com/docs/orbs/use/orb-intro/ +orbs: + # See the Node orb documentation here: https://circleci.com/developer/orbs/orb/circleci/node + node: circleci/node@5.2 # Orchestrate jobs using workflows # See: https://circleci.com/docs/guides/orchestrate/workflows/ & https://circleci.com/docs/reference/configuration-reference/#workflows workflows: - say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow. + sample: # 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: - - say-hello \ No newline at end of file + - node/test: + # This is the node version to use for the `cimg/node` tag + # Relevant tags can be found on the CircleCI Developer Hub + # https://circleci.com/developer/images/image/cimg/node + version: '16.10' + # If you are using yarn, change the line below from "npm" to "yarn" + pkg-manager: npm \ No newline at end of file