diff --git a/test_unstructured_ingest/test-ingest.sh b/test_unstructured_ingest/test-ingest.sh index 3f687cf4e6..1b29508920 100755 --- a/test_unstructured_ingest/test-ingest.sh +++ b/test_unstructured_ingest/test-ingest.sh @@ -69,6 +69,11 @@ trap print_last_run EXIT python_version=$(python --version 2>&1) +tests_to_ignore=( + 'test-ingest-notion.sh' + "test-ingest-dropbox.sh" +) + for test in "${all_tests[@]}"; do CURRENT_TEST="$test" # IF: python_version is not 3.10 (wildcarded to match any subminor version) AND the current test is not in full_python_matrix_tests @@ -77,7 +82,7 @@ for test in "${all_tests[@]}"; do echo "--------- SKIPPING SCRIPT $test ---------" continue fi - if [[ "$test" == "test-ingest-notion.sh" ]]; then + if [[ "${tests_to_ignore[*]}" =~ $test ]]; then echo "--------- RUNNING SCRIPT $test --- IGNORING FAILURES" set +e echo "Running ./test_unstructured_ingest/$test"