Skip to content

Commit 85dcc41

Browse files
committed
Run tests in CI
1 parent 5c78892 commit 85dcc41

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.circleci/config.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22

33
jobs:
4-
build:
4+
build-test:
55
docker:
66
- image: circleci/python:3.5.5
77
steps:
@@ -27,7 +27,8 @@ jobs:
2727
name: Build
2828
command: |
2929
source $HOME/.poetry/env
30-
poetry build
30+
poetry run ./runtests
31+
3132
deploy:
3233
docker:
3334
- image: circleci/python:3.5.5
@@ -46,13 +47,13 @@ jobs:
4647
workflows:
4748
version: 2.1
4849

49-
build:
50+
build-test:
5051
jobs:
51-
- build
52+
- build-test
5253

53-
build-deploy:
54+
build-test-deploy:
5455
jobs:
55-
- build:
56+
- build-test:
5657
filters:
5758
tags:
5859
only: /v[0-9]+(\.[0-9]+)*/
@@ -62,7 +63,7 @@ workflows:
6263
- deploy:
6364
context: thread-pypi
6465
requires:
65-
- build
66+
- build-test
6667
filters:
6768
tags:
6869
only: /v[0-9]+(\.[0-9]+)*/

0 commit comments

Comments
 (0)