@@ -17,46 +17,39 @@ jobs:
17
17
apt-get -y install curl
18
18
pip install --upgrade pip
19
19
pip install poetry
20
- # poetry install
20
+ poetry install
21
21
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
57
51
58
52
- slack/notify :
59
- channel : nucleus-builders
60
53
branch_pattern : master
61
54
event : fail
62
55
template : basic_fail_1
0 commit comments