Skip to content

Commit

Permalink
fix workflows test command
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 committed Aug 22, 2024
1 parent 50026bc commit 6813935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
# run restore omero database
python manage.py restore_postgresql_database -s omero1
# run indexing indexing
python manage.py get_index_data_from_database -b False -s omero1
python manage.py get_index_data_from_database -b False
# run tests
python -m unittest discover -s unit_tests
upload:
Expand Down
5 changes: 2 additions & 3 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def get_index_data_from_database(resource="all", source="all", backup="True"):
clean_index = True

else:
clean_index = False
clean_index = False\

for data_source in search_omero_app.config.database_connectors.keys():
if source.lower() != "all" and data_source.lower() != source.lower():
Expand All @@ -186,8 +186,7 @@ def get_index_data_from_database(resource="all", source="all", backup="True"):
if clean_index:
clean_index = False
# validat ethe indexing
# test_indexing_search_query(source=data_source, deep_check=False,
# check_studies=True)
test_indexing_search_query(source=data_source, deep_check=False,check_studies=True)

# backup the index data
# if backup:
Expand Down

0 comments on commit 6813935

Please sign in to comment.