Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This is a sample build configuration for Python. | ||
# Check our guides at https://confluence.atlassian.com/x/x4UWN for more examples. | ||
# Only use spaces to indent your .yml configuration. | ||
# ----- | ||
# You can specify a custom docker image from Docker Hub as your build environment. | ||
image: python:3.7.2 | ||
|
||
pipelines: | ||
default: | ||
- parallel: | ||
- step: | ||
name: Lint | ||
caches: | ||
- pip | ||
script: | ||
- pip install flake8 flake8-bugbear | ||
- flake8 black.py blackd.py tests/test_black.py | ||
- step: | ||
name: Type Check | ||
caches: | ||
- pip | ||
script: | ||
- pip install mypy | ||
- mypy black.py blackd.py tests/test_black.py | ||
- step: | ||
name: Unit Tests | ||
caches: | ||
- pip | ||
script: | ||
- pip install coverage coveralls click | ||
- pip install -e '.[d]' | ||
- coverage run tests/test_black.py |