File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2.1
2+ commands :
3+ create-virtualenv :
4+ steps :
5+ - run : python3 -m venv ~/venv
6+ - run : echo "source ~/venv/bin/activate" >> $BASH_ENV
7+ jobs :
8+ lint :
9+ docker :
10+ - image : circleci/python:3.7.3
11+
12+ steps :
13+ - checkout
14+
15+ - create-virtualenv
16+
17+ - run :
18+ name : Install all dependencies
19+ command : |
20+ pip install -r requirements.txt
21+ pip install -r requirements_dev.txt
22+
23+ - run :
24+ name : Install pre-commit
25+ command : pip install pre-commit
26+
27+ - run :
28+ name : Lint
29+ command : pre-commit run --all-files --show-diff-on-failure
30+
31+ tests :
32+ docker :
33+ - image : circleci/python:3.7.3
34+
35+ steps :
36+ - checkout
37+
38+ - create-virtualenv
39+
40+ - run :
41+ name : Install real dependencies
42+ command : pip install -r requirements.txt
43+
44+ - run :
45+ name : Tests
46+ command : py.test
You can’t perform that action at this time.
0 commit comments