LogarithmPlotter/scripts/run-tests.sh
Ad5001 1c7e9d627d
Some checks failed
continuous-integration/drone/push Build is failing
Updating tests
2024-09-30 01:35:24 +02:00

17 lines
386 B
Bash

#!/bin/bash
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
rm -rf build
bash scripts/build.sh
# Run python tests
cp -r runtime-pyside6/tests build/runtime-pyside6
cp -r ci CHANGELOG.md build/runtime-pyside6
cd build/runtime-pyside6 || exit 1
PYTHONPATH="$PYTHONPATH:." pytest --cov=LogarithmPlotter --cov-report term-missing .
cd ../../
# Run js tests
cd common
npm test