attempt to run CI on test_base so we can catch issues with packaging...

This commit is contained in:
John Chilton
2022-05-30 12:19:29 -04:00
parent b3b693ea07
commit d3719517e7
2 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -93,4 +93,5 @@ push-release:
release: release-local push-release
mypy:
mypy $(SOURCE_DIR) $(TEST_DIR)
test -f $(TEST_DIR) && mypy $(SOURCE_DIR) $(TEST_DIR)
test -f $(TEST_DIR) || mypy $(SOURCE_DIR)
+5 -1
View File
@@ -32,6 +32,7 @@ PACKAGE_DIRS=(
web_framework
app
webapps
test_base
)
for ((i=0; i<${#PACKAGE_DIRS[@]}; i++)); do
printf "\n========= TESTING PACKAGE ${PACKAGE_DIRS[$i]} =========\n\n"
@@ -52,7 +53,10 @@ for ((i=0; i<${#PACKAGE_DIRS[@]}; i++)); do
# Prevent execution of alembic/env.py at test collection stage (alembic.context not set)
unit_extra='--doctest-modules --ignore galaxy/model/migrations/alembic'
pytest $unit_extra galaxy tests
if [ -e tests ];
then
pytest $unit_extra galaxy tests
fi
make mypy
cd ..
done