Skip to content

Commit

Permalink
rewrite CircleCI tests using toxify
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnzZ committed Aug 7, 2020
1 parent 3449909 commit 3b82544
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
#
version: 2
jobs:
toxify:
docker:
- image: python:3.6
steps:
- checkout
- run:
name: Run tests in supported Python versions
command: |
pip install tox tox-pyenv
pyenv local 3.5.3 3.6.0 3.7.0 3.8.0
tox
build:
docker:
- image: circleci/python:3.6.1
Expand All @@ -26,9 +37,11 @@ jobs:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}
# Run tests
- run:
name: run tests
command: |
. venv/bin/activate
pip install tox && tox

workflows:
version: 2

shublang:
jobs:
- toxify
- build

0 comments on commit 3b82544

Please sign in to comment.