File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ # This config was automatically generated from your source code
2+ # Stacks detected: cicd:github-actions:.github/workflows,deps:python:.,file:setup.py:.
3+ version : 2.1
4+ orbs :
5+ python : circleci/python@2
6+ jobs :
7+ test-python :
8+ # Install dependencies and run tests
9+ docker :
10+ - image : cimg/python:3.8-node
11+ steps :
12+ - checkout
13+ - python/install-packages :
14+ pkg-manager : pip-dist
15+ - run :
16+ name : Run tests
17+ command : pytest --junitxml=junit.xml || ((($? == 5)) && echo 'Did not find any tests to run.')
18+ - store_test_results :
19+ path : junit.xml
20+ build-package :
21+ # build python package
22+ docker :
23+ - image : cimg/python:3.8-node
24+ steps :
25+ - checkout
26+ - run :
27+ name : Create the ~/artifacts directory if it doesn't exist
28+ command : mkdir -p ~/artifacts
29+ - python/dist
30+ - store_artifacts :
31+ path : dist
32+ destination : ~/artifacts
33+ deploy :
34+ # This is an example deploy job, not actually used by the workflow
35+ docker :
36+ - image : cimg/base:stable
37+ steps :
38+ # Replace this with steps to deploy to users
39+ - run :
40+ name : deploy
41+ command : ' #e.g. ./deploy.sh'
42+ - run :
43+ name : found github actions config
44+ command : ' :'
45+ workflows :
46+ build-and-test :
47+ jobs :
48+ - test-python
49+ - build-package :
50+ requires :
51+ - test-python
52+ # - deploy:
53+ # requires:
54+ # - build-package
You can’t perform that action at this time.
0 commit comments