Skip to content
This repository was archived by the owner on May 20, 2022. It is now read-only.

Commit 6f594fd

Browse files
committed
1 parent 99935b5 commit 6f594fd

1 file changed

Lines changed: 39 additions & 6 deletions

File tree

.circleci/config.yml

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
#
1212
version: 2
1313
jobs:
14-
build:
14+
test-py37:
1515
docker:
16-
- image: python:3.7.1
16+
- image: python:3.7.2
1717

1818
working_directory: ~/repo
1919

@@ -28,19 +28,52 @@ jobs:
2828
pip install --upgrade pip
2929
pip install --upgrade setuptools wheel
3030
pip install -r requirements/test.txt
31-
# pip install -r requirements/extras.txt
3231
33-
# run tests!
3432
- run:
3533
name: run tests
3634
command: |
3735
. venv/bin/activate
3836
make lint
39-
make test-coverage
37+
tox -e py37
38+
codecov
4039
make test-coverage-report-console
4140
make test-coverage-report-html
42-
make dist
4341
4442
- store_artifacts:
4543
path: test-reports
4644
destination: test-reports
45+
46+
dist:
47+
docker:
48+
- image: python:3.7.2
49+
50+
working_directory: ~/repo
51+
52+
steps:
53+
- checkout
54+
55+
- run:
56+
name: install dependencies
57+
command: |
58+
python3 -m venv venv
59+
. venv/bin/activate
60+
pip install --upgrade pip
61+
pip install --upgrade setuptools wheel
62+
pip install -r requirements/release.txt
63+
64+
- run:
65+
name: make dist
66+
command: |
67+
. venv/bin/activate
68+
make dist
69+
70+
- store_artifacts:
71+
path: dist
72+
destination: dist
73+
74+
workflows:
75+
version: 2
76+
ci:
77+
jobs:
78+
- test-py37
79+
- dist

0 commit comments

Comments
 (0)