File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
1
# CircleCI jobs are only enabled to on Pull Requests and commits to master branch.
2
2
# "Only build pull requests" enabled in Project's Advanced Settings.
3
3
version : 2.1
4
+ orbs :
5
+ slack : circleci/slack@4.4.2
4
6
5
7
jobs :
6
8
build_test :
7
9
docker :
8
- - image : python:3.6-slim- buster
10
+ - image : python:3.6-buster
9
11
resource_class : small
10
12
steps :
11
13
- checkout # checkout source code to working directory
12
14
- run :
13
15
name : Install Environment Dependencies
14
16
command : | # install dependencies
17
+ apt-get -y install curl
15
18
pip install --upgrade pip
16
19
pip install poetry
17
20
poetry install
44
47
- store_test_results :
45
48
path : test_results
46
49
- 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
48
55
49
56
pypi_publish :
50
57
docker :
@@ -91,10 +98,12 @@ workflows:
91
98
only :
92
99
- master
93
100
jobs :
94
- - build_test
101
+ - build_test :
102
+ context : Nucleus
95
103
build_test_publish :
96
104
jobs :
97
105
- build_test :
106
+ context : Nucleus
98
107
filters :
99
108
tags :
100
109
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