#!/usr/bin/env sh

set -e

echo "Running Linting"
/var/venv/bin/python -m flake8 feed_sender tests

echo "Running Tests"
/var/venv/bin/python -m pytest tests \
    --cov feed_sender \
    --cov-report xml:coverage.xml \
    --cov-report term \
    --junitxml=pyunit.xml

echo "Success"
