Skip to content

Commit

Permalink
Update of the circle-ci config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jw committed Dec 25, 2019
1 parent ce0b37e commit 2cabdfe
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
- run: pipenv run python setup.py test
- run: pipenv run coveralls
- run: pipenv run codecov

- store_test_results:
path: test-reports
- store_artifacts:
path: test-reports

test-3.7:
docker:
- image: circleci/python:3.7
Expand All @@ -40,6 +46,12 @@ jobs:
- run: pipenv run python setup.py test
- run: pipenv run coveralls
- run: pipenv run codecov

- store_test_results:
path: test-reports
- store_artifacts:
path: test-reports

test-3.8:
docker:
- image: circleci/python:3.8
Expand All @@ -55,6 +67,11 @@ jobs:
- run: pipenv run coveralls
- run: pipenv run codecov

- store_test_results:
path: test-reports
- store_artifacts:
path: test-reports

# CircleCI Python images available at: https://hub.docker.com/r/circleci/python/
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
# - save_cache: # cache Python dependencies using checksum of Pipfile as the cache-key
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
test=pytest

[tool:pytest]
addopts = --cov=stilus --cov-report html --cov-report term --cov-report term-missing
addopts = --cov=stilus --cov-report html --cov-report term --cov-report term-missing --junitxml=test-reports/junit.xml
python_files = tests/*.py

0 comments on commit 2cabdfe

Please sign in to comment.