#!/usr/bin/env bash

set -e

echo 'Running integration tests...'

PYTHONDONTWRITEBYTECODE=1 COVERAGE_FILE=build/.integration_coverage poetry run pytest tests/integration/ \
  -p no:cacheprovider \
  --cov backfill \
  --cov-report xml:build/integration_coverage.xml \
  --cov-report term \
  --junitxml=build/integration_pyunit.xml

echo 'Done!'
