#!/bin/bash
set -e

echo 'Running linting...'
flake8 conflict_manager/ tests/ application.py dev.py

#python -m pytest
echo 'Running testing...'
PYTHONDONTWRITEBYTECODE=1 COVERAGE_FILE=build/.coverage python -m pytest -v tests/ \
        -p no:cacheprovider \
        --cov conflict_manager tests\
        --cov-report xml:build/coverage.xml \
        --cov-report term \
        --junitxml=build/pyunit.xml

