mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-10-29 02:30:40 +00:00
28 lines
554 B
Bash
Executable File
28 lines
554 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
echo "==> flake8"
|
|
python3 -m flake8 voxvera tests \
|
|
--jobs=1 \
|
|
--exclude=voxvera/vendor \
|
|
--ignore=E501,W503,W293,E402,E306,E704,E261,F841,E302,F401,E401,F541
|
|
|
|
echo "==> pytest"
|
|
python3 -m pytest tests/ -v
|
|
|
|
echo "==> electron smoke tests"
|
|
(cd gui/electron && npm test)
|
|
|
|
echo "==> dependency check"
|
|
python3 -m voxvera.cli --lang en check
|
|
|
|
echo "==> build docs"
|
|
python3 -m voxvera.cli build-docs
|
|
|
|
echo "==> build site"
|
|
python3 -m voxvera.cli build-site
|
|
|
|
echo "All local checks passed."
|