mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
attempt to run CI on test_base so we can catch issues with packaging...
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user