From 46d8a6873a12b5f96dc1b19d649f0ea383e21831 Mon Sep 17 00:00:00 2001 From: CSBH666 <156588193+CSBH666@users.noreply.github.com> Date: Thu, 8 Jan 2026 22:38:20 -0600 Subject: [PATCH 1/3] Add .circleci/config.yml --- .circleci/config.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..bb68b14 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,31 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# 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!" + +# 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. + # Inside the workflow, you define the jobs you want to run. + jobs: + - say-hello \ No newline at end of file From c1653e60fbf44790f439b6c305a4f3dfcc23c466 Mon Sep 17 00:00:00 2001 From: CSBH666 <156588193+CSBH666@users.noreply.github.com> Date: Thu, 8 Jan 2026 22:42:29 -0600 Subject: [PATCH 2/3] Add .circleci/config.yml --- .circleci/config.yml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bb68b14..0df0e1b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,31 +1,45 @@ # 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: - say-hello: + build-and-test: # 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 + # See:https://circleci.com/developer/images/image/cimg/python + - image: cimg/python:3.12 # 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: "Say hello" - command: "echo Hello, World!" + name: Run tests + # This assumes pytest is installed via the install-package step above + command: pytest # 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 + - build-and-test \ No newline at end of file From cb4af8e3980023f49fe5921f234880ae9a2e2624 Mon Sep 17 00:00:00 2001 From: CSBH666 <156588193+CSBH666@users.noreply.github.com> Date: Fri, 9 Jan 2026 08:12:29 -0600 Subject: [PATCH 3/3] Add .circleci/config.yml