Skip to content

Commit b9eab12

Browse files
author
Diego Ardila
committed
Now to put in exactly the notifications we want
1 parent dbdb741 commit b9eab12

File tree

1 file changed

+30
-37
lines changed

1 file changed

+30
-37
lines changed

.circleci/config.yml

Lines changed: 30 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -17,46 +17,39 @@ jobs:
1717
apt-get -y install curl
1818
pip install --upgrade pip
1919
pip install poetry
20-
# poetry install
20+
poetry install
2121
22-
# - run:
23-
# name: Black Formatting Check # Only validation, without re-formatting
24-
# command: |
25-
# poetry run black --check -t py36 .
26-
# - run:
27-
# name: Flake8 Lint Check # Uses setup.cfg for configuration
28-
# command: |
29-
# poetry run flake8 . --count --statistics
30-
# - run:
31-
# name: Pylint Lint Check # Uses .pylintrc for configuration
32-
# command: |
33-
# poetry run pylint nucleus
34-
# - run :
35-
# name: MyPy typing check
36-
# command: |
37-
# poetry run mypy --ignore-missing-imports nucleus
38-
# - run:
39-
# name: Pytest Test Cases
40-
# command: | # Run test suite, uses NUCLEUS_TEST_API_KEY env variable
41-
# mkdir test_results
42-
# poetry run coverage run --include=nucleus/* -m pytest -s -v --junitxml=test_results/junit.xml
43-
# poetry run coverage report
44-
# poetry run coverage html
45-
# - store_test_results:
46-
# path: htmlcov
47-
# - store_test_results:
48-
# path: test_results
49-
# - store_artifacts:
50-
# path: test_results
51-
- slack/notify:
52-
event: pass
53-
template: basic_fail_1
54-
- slack/notify:
55-
event: fail
56-
template: basic_fail_1
22+
- run:
23+
name: Black Formatting Check # Only validation, without re-formatting
24+
command: |
25+
poetry run black --check -t py36 .
26+
- run:
27+
name: Flake8 Lint Check # Uses setup.cfg for configuration
28+
command: |
29+
poetry run flake8 . --count --statistics
30+
- run:
31+
name: Pylint Lint Check # Uses .pylintrc for configuration
32+
command: |
33+
poetry run pylint nucleus
34+
- run :
35+
name: MyPy typing check
36+
command: |
37+
poetry run mypy --ignore-missing-imports nucleus
38+
- run:
39+
name: Pytest Test Cases
40+
command: | # Run test suite, uses NUCLEUS_TEST_API_KEY env variable
41+
mkdir test_results
42+
poetry run coverage run --include=nucleus/* -m pytest -s -v --junitxml=test_results/junit.xml
43+
poetry run coverage report
44+
poetry run coverage html
45+
- store_test_results:
46+
path: htmlcov
47+
- store_test_results:
48+
path: test_results
49+
- store_artifacts:
50+
path: test_results
5751

5852
- slack/notify:
59-
channel: nucleus-builders
6053
branch_pattern: master
6154
event: fail
6255
template: basic_fail_1

0 commit comments

Comments
 (0)