From 28ac5538662c6f92a8e5f5b55b19cb0f98cc77fb Mon Sep 17 00:00:00 2001 From: hamasoasis Date: Thu, 6 Jun 2024 13:24:45 -0500 Subject: [PATCH 1/2] include test in circleci config --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d4ffcfa..04f9f94 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,6 +16,13 @@ install: &install name: install dependencies for build command: | $HOME/conda/bin/pip install -r ~/repo/.circleci/requirements.txt + +test_jobs: &test_jobs + name: test the jobs metadata + command: | + cd ~/repo/tests + $HOME/conda/bin/python -m unittest test_jobs + install_python_3: &install_python_3 name: install Python 3.5 dependencies command: | @@ -73,6 +80,7 @@ jobs: key: rubygems-v1 paths: - vendor/bundle + - run: *test_jobs - run: *build_jekyll - store_artifacts: path: ~/repo/_site From 81c766915404350d5c07a3bdb9e05675352069c8 Mon Sep 17 00:00:00 2001 From: hamasoasis Date: Thu, 6 Jun 2024 13:43:26 -0500 Subject: [PATCH 2/2] Removing test job run test --- .circleci/config.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 04f9f94..b36552f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,12 +17,6 @@ install: &install command: | $HOME/conda/bin/pip install -r ~/repo/.circleci/requirements.txt -test_jobs: &test_jobs - name: test the jobs metadata - command: | - cd ~/repo/tests - $HOME/conda/bin/python -m unittest test_jobs - install_python_3: &install_python_3 name: install Python 3.5 dependencies command: | @@ -80,7 +74,7 @@ jobs: key: rubygems-v1 paths: - vendor/bundle - - run: *test_jobs + #Removing test job - run: *build_jekyll - store_artifacts: path: ~/repo/_site