scripts/run_chives_tests.sh
- 655 bytes
- Bash
- View raw
1#!/usr/bin/env bash
3set -o errexit
4set -o nounset
6# Print a command in blue, then run the command
11}
17 then
19 else
20 python3 -m coverage
21 fi
22}
24run_command 'ruff format'
27then
28 run_command 'git diff --exit-code'
29fi
31run_command 'ruff check'
32run_command 'mypy src tests'
33run_command "python3 -m coverage run -m pytest -q tests"
34report_coverage