← back to Exo
CircleCI Commit
997fcaff3518e4e37db521393f8d44d5ca833dc9 · 2024-08-02 10:09:16 +0100 · Alex Cheema
Files touched
Diff
commit 997fcaff3518e4e37db521393f8d44d5ca833dc9
Author: Alex Cheema <41707476+AlexCheema@users.noreply.github.com>
Date: Fri Aug 2 10:09:16 2024 +0100
CircleCI Commit
---
.circleci/config.yml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 00000000..4935de45
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,54 @@
+# This config was automatically generated from your source code
+# Stacks detected: cicd:github-actions:.github/workflows,deps:python:.,file:setup.py:.
+version: 2.1
+orbs:
+ python: circleci/python@2
+jobs:
+ test-python:
+ # Install dependencies and run tests
+ docker:
+ - image: cimg/python:3.8-node
+ steps:
+ - checkout
+ - python/install-packages:
+ pkg-manager: pip-dist
+ - run:
+ name: Run tests
+ command: pytest --junitxml=junit.xml || ((($? == 5)) && echo 'Did not find any tests to run.')
+ - store_test_results:
+ path: junit.xml
+ build-package:
+ # build python package
+ docker:
+ - image: cimg/python:3.8-node
+ steps:
+ - checkout
+ - run:
+ name: Create the ~/artifacts directory if it doesn't exist
+ command: mkdir -p ~/artifacts
+ - python/dist
+ - store_artifacts:
+ path: dist
+ destination: ~/artifacts
+ 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
+ - build-package:
+ requires:
+ - test-python
+ # - deploy:
+ # requires:
+ # - build-package
← f5755ea1 give explicit node ids when running on the same instance in
·
back to Exo
·
Update config.yml 21b0bf87 →