content-explorer/scripts/ci-synthetic.sh

14 lines
436 B
Bash
Raw Normal View History

#!/bin/sh
# Synthetic suite. It does not fetch or require the OnCo corpus.
# The Forgejo job installs requirements.txt first. Node comes from the runner image.
set -eu
cd "$(dirname "$0")/.."
python3 scripts/validate_fixtures.py
python3 -m unittest discover -s tests -p 'test_*.py'
python3 scripts/check_ui_boundary.py
python3 scripts/check_ui_provenance.py
python3 scripts/quality_report.py >/dev/null
cd ui
npm test
npm run typecheck