Finishing testing promises.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ef465b34e7
commit
a182c703f4
8 changed files with 114 additions and 36 deletions
|
@ -1,8 +1,20 @@
|
|||
#!/bin/bash
|
||||
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.." || exit 1
|
||||
|
||||
box() {
|
||||
len=${#1}
|
||||
echo "┌─$(printf '─%.0s' $(seq 1 "$len"))─┐"
|
||||
echo "│ $1 │"
|
||||
echo "└─$(printf '─%.0s' $(seq 1 "$len"))─┘"
|
||||
}
|
||||
|
||||
rebuild=true
|
||||
|
||||
cd runtime-pyside6/tests/plugins || exit 1
|
||||
box "Testing pytest natural plugins..."
|
||||
PYTHONPATH="$PYTHONPATH:." pytest --cov=natural --cov-report term-missing .
|
||||
cd ../../../
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
--no-rebuild)
|
||||
|
@ -27,10 +39,12 @@ rm -rf build/runtime-pyside6/tests
|
|||
cp -r runtime-pyside6/tests build/runtime-pyside6
|
||||
cp -r ci CHANGELOG.md build/runtime-pyside6
|
||||
cd build/runtime-pyside6 || exit 1
|
||||
box "Testing runtime-pyside6..."
|
||||
PYTHONPATH="$PYTHONPATH:." pytest --cov=LogarithmPlotter --cov-report term-missing .
|
||||
cd ../../
|
||||
|
||||
# Run js tests
|
||||
cd common || exit 1
|
||||
box "Testing common..."
|
||||
npm test
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue