add circleci config
This commit is contained in:
parent
169a6ef141
commit
328b75bef3
1 changed files with 25 additions and 0 deletions
25
.circleci/config.yml
Normal file
25
.circleci/config.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_and_test:
|
||||||
|
docker:
|
||||||
|
- image: circleci/python:latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
|
||||||
|
# TODO FIXME switch to tox?
|
||||||
|
- run: pip3 install --user mypy pylint
|
||||||
|
|
||||||
|
# TODO how to make it compatible
|
||||||
|
- run: python3 -m mypy --namespace-packages my
|
||||||
|
- run: python3 -m pylint -E my
|
||||||
|
# TODO need to keep full my_configuration.py as example? to dummy run CI
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
workflows:
|
||||||
|
version: 2
|
||||||
|
build_and_test:
|
||||||
|
jobs:
|
||||||
|
- build_and_test
|
Loading…
Add table
Reference in a new issue