Skip to content
Snippets Groups Projects
Commit 93a5f364 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

add codeclimate

parent cd6d6ff1
No related branches found
No related tags found
No related merge requests found
version: '2.1'
executors:
my-executor:
docker:
- image: smokserwis/build:python3
orbs:
code-climate: travelaudience/code-climate@0.1.5
jobs:
test:
executor: my-executor
steps:
- checkout
- codeclimate/install
- run:
name: Install dependencies
command: |
pip install -r requirements.txt
pip install -U pytest-xdist pytest-cov pytest pytest-forked pluggy py opentracing
python setup.py install
- run:
name: Unit tests
command: |
pytest -n 8 --cov=satella
- run:
name: Collect results
coverage xml
- codeclimate/upload_coverage
workflows:
unit_test:
jobs:
- test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment