Files
lctime/run_tests.sh
2025-02-04 07:11:26 +00:00

19 lines
305 B
Bash
Executable File

#!/bin/bash
# SPDX-FileCopyrightText: 2022 Thomas Kramer
#
# SPDX-License-Identifier: CC0-1.0
set -e
if [ "$(which pytest)" ]; then
echo run unit tests...
pytest $(find src/ -name \*.py)
else
echo "pytest not found, skipping unit tests"
fi
echo run integration tests...
cd tests/
./run_tests.sh