Skip to content

Commit 6e8c22a

Browse files
committed
add circleci config
1 parent f876069 commit 6e8c22a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.circleci/config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: 2.1
2+
3+
orbs:
4+
python: circleci/python@1.4.0
5+
6+
jobs:
7+
build-and-test:
8+
docker:
9+
- image: cimg/python:3.9
10+
steps:
11+
- checkout
12+
- python/install-packages:
13+
pkg-manager: pip
14+
- run:
15+
name: Test
16+
command: |
17+
python -m pytest --mypy --cov-report html:cov_html --cov-report annotate:cov_annotate --cov --junitxml=test-results/pytest/results.xml
18+
python -m coveralls
19+
- store_test_results:
20+
path: test-results
21+
22+
workflows:
23+
main:
24+
jobs:
25+
- build-and-test

0 commit comments

Comments
 (0)