Skip to content

Commit 19c6bdb

Browse files
committed
ci: fix tests for pypy
1 parent 7d93229 commit 19c6bdb

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.circleci/config.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,25 @@ test: &test
1010
- run:
1111
name: test
1212
command: |
13-
python setup.py test || pypy setup.py test
13+
python setup.py test
1414
- run:
1515
name: upload coverage
1616
command: |
1717
pip install codecov
1818
codecov --required
19+
test_pypy: &test_pypy
20+
working_directory: ~/bencoder.pyx
21+
steps:
22+
- checkout
23+
- run:
24+
name: install dependencies
25+
command: |
26+
pip install -U pip setuptools wheel
27+
pip install -r dev-requirements.txt
28+
- run:
29+
name: test
30+
command: |
31+
pypy setup.py test
1932
version: 2
2033
jobs:
2134
#
@@ -44,11 +57,11 @@ jobs:
4457
pypy:
4558
docker:
4659
- image: pypy:2
47-
<<: *test
60+
<<: *test_pypy
4861
pypy3:
4962
docker:
5063
- image: pypy:3
51-
<<: *test
64+
<<: *test_pypy
5265

5366
workflows:
5467
version: 2

0 commit comments

Comments
 (0)