summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-05-10 12:44:54 +0700
committerHa Thach <[email protected]>2024-05-10 12:44:54 +0700
commit15e2ccf1b3b7c53a90550e637285c00c88a4a3fe (patch)
treed73ba3c5f2c38176665f87a73c8ca3a188dce689
parente827829850eef83e41801f185dcef6daecfa5901 (diff)
CircleCI Commit
-rw-r--r--.circleci/config.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 000000000..e8a81dbb6
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,39 @@
+# This config was automatically generated from your source code
+# Stacks detected: cicd:github-actions:.github/workflows,deps:python:docs
+version: 2.1
+orbs:
+ python: circleci/python@2
+jobs:
+ test-python:
+ # Install dependencies and run tests
+ docker:
+ - image: cimg/python:3.8-node
+ working_directory: ~/project/docs
+ steps:
+ - checkout:
+ path: ~/project
+ - python/install-packages
+ - run:
+ name: Run tests
+ command: pytest --junitxml=junit.xml || ((($? == 5)) && echo 'Did not find any tests to run.')
+ - store_test_results:
+ path: junit.xml
+ 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