File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# CircleCI jobs are only enabled to on Pull Requests and commits to master branch.
22# "Only build pull requests" enabled in Project's Advanced Settings.
33version : 2.1
4+ orbs :
5+ slack : circleci/slack@4.4.2
46
57jobs :
68 build_test :
79 docker :
8- - image : python:3.6-slim- buster
10+ - image : python:3.6-buster
911 resource_class : small
1012 steps :
1113 - checkout # checkout source code to working directory
1214 - run :
1315 name : Install Environment Dependencies
1416 command : | # install dependencies
17+ apt-get -y install curl
1518 pip install --upgrade pip
1619 pip install poetry
1720 poetry install
4447 - store_test_results :
4548 path : test_results
4649 - store_artifacts :
47- path : test_results
50+ path : test_results
51+ - slack/notify :
52+ branch_pattern : master
53+ event : fail
54+ template : basic_fail_1
4855
4956 pypi_publish :
5057 docker :
@@ -91,10 +98,12 @@ workflows:
9198 only :
9299 - master
93100 jobs :
94- - build_test
101+ - build_test :
102+ context : Nucleus
95103 build_test_publish :
96104 jobs :
97105 - build_test :
106+ context : Nucleus
98107 filters :
99108 tags :
100109 only : /^v\d+\.\d+\.\d+$/ # Runs only for tags with the format [v1.2.3]
You can’t perform that action at this time.
0 commit comments