mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-10-27 09:40:40 +00:00
33 lines
669 B
Bash
Executable File
33 lines
669 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
|
|
|
|
if [[ "$(uname -s)" == "Linux" ]]; then
|
|
echo "==> platform smoke"
|
|
bash scripts/platform-smoke.sh linux-cli
|
|
fi
|
|
|
|
echo "==> build docs"
|
|
python3 -m voxvera.cli build-docs
|
|
|
|
echo "==> build site"
|
|
python3 -m voxvera.cli build-site
|
|
|
|
echo "All local checks passed."
|