Skip to content

Commit

Permalink
omit ingest test
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiseck3 committed Oct 19, 2023
1 parent f8e9e94 commit 13edf38
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test_unstructured_ingest/test-ingest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 13edf38

Please sign in to comment.