Skip to content

Commit be25eae

Browse files
committed
update with pipfile and added test step and circle ci
1 parent 5a4eb57 commit be25eae

File tree

10 files changed

+389
-64
lines changed

10 files changed

+389
-64
lines changed

.circleci/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/repo
5+
docker:
6+
- image: circleci/python:3.7
7+
steps:
8+
- checkout
9+
- run:
10+
command: |
11+
pipenv install --skip-lock
12+
pipenv install --skip-lock --dev
13+
pipenv run black . --check
14+
pipenv run pytest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ venv/
44
__pycache__
55
.DS_Store/
66
migrations/
7+
.pytest_cache

Pipfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
flask = "*"
8+
requests = "*"
9+
10+
[dev-packages]
11+
pytest = "*"
12+
black = "*"
13+
ipdb = "*"
14+
15+
[requires]
16+
python_version = "3.7"

Pipfile.lock

Lines changed: 153 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)