#!/usr/bin/env bash

pytest -v --rootdir . --junitxml data/pytest.xml -o 'junit_family = xunit2' \
  --deselect test_runBatchExamples.py::test_runBatchBlender \
  --deselect  test_runBatchExamples.py::test_runBatchPuppeteerLighthouse \
  --deselect  test_runBatchExamples.py::test_runBatchTaurus \
  --ignore DevWeb

#   --deselect  test_runBatchExamples.py::test_runBatchPython
#   --deselect test_runBatchExamples.py::test_runBatchJMeter \

# pretty-print the xml summary, if xmllint is installed
if hash xmllint 2>/dev/null; then
    xmllint --format data/pytest.xml
fi
