unit tests
This commit is contained in:
@@ -22,8 +22,19 @@ jobs:
|
|||||||
git diff-index --quiet HEAD || git commit -m 'Automated README [ci skip]'
|
git diff-index --quiet HEAD || git commit -m 'Automated README [ci skip]'
|
||||||
git push origin master
|
git push origin master
|
||||||
name: Building docs
|
name: Building docs
|
||||||
|
unit-tests:
|
||||||
|
docker:
|
||||||
|
- image: circleci/python:latest
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
command: |
|
||||||
|
sudo pip install pytest
|
||||||
|
python -m pytest ./tests/unit
|
||||||
|
name: Unit tests
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
main:
|
main:
|
||||||
jobs:
|
jobs:
|
||||||
|
- unit-tests
|
||||||
- build-docs
|
- build-docs
|
||||||
@@ -5,3 +5,4 @@ error_*.txt
|
|||||||
tmp
|
tmp
|
||||||
.key*
|
.key*
|
||||||
*.pyc
|
*.pyc
|
||||||
|
.pytest_cache
|
||||||
|
|||||||
Reference in New Issue
Block a user