We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dffe096 commit e5a2e0fCopy full SHA for e5a2e0f
.circleci/config.yml
@@ -0,0 +1,34 @@
1
+version: 2.1
2
+
3
+orbs:
4
+ python: circleci/[email protected]
5
6
+jobs:
7
+ python-build-and-test:
8
+ executor: python/default
9
+ steps:
10
+ - checkout
11
+ - python/load-cache
12
+ - python/install-deps
13
+ - python/save-cache
14
+ - run: pip install --editable .
15
+ - run: pip install black
16
+ - run:
17
+ name: Check format with Black
18
+ command: black --check .
19
20
+ name: run tests
21
+ command: |
22
+ pip install pytest
23
+ mkdir test-results
24
+ pytest --junitxml=test-results/junit.xml
25
26
+ - store_test_results:
27
+ path: test-results
28
+ - store_artifacts:
29
30
31
+workflows:
32
+ main:
33
+ jobs:
34
+ - python-build-and-test
.travis.yml
0 commit comments