Skip to content

Commit

Permalink
fix polars pytest call
Browse files Browse the repository at this point in the history
  • Loading branch information
gforsyth committed Jan 27, 2025
1 parent 25575de commit bae9c3c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ci/run_cudf_polars_polars_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,18 @@ else
fi
fi

# Reusing a variable defined as an array as a string
DESELECTED_TEST_STR=$(printf -- " --deselect %s" "${DESELECTED_TESTS[@]}")
DESELECTED_TESTS_STR=$(printf -- " --deselect %s" "${DESELECTED_TESTS[@]}")

# Don't quote the `DESELECTED_...` variable because `pytest` can't handle
# multiple quoted arguments inline
# shellcheck disable=SC2086
python -m pytest \
--import-mode=importlib \
--cache-clear \
-m "" \
-p cudf_polars.testing.plugin \
-v \
--tb=native \
"${DESELECTED_TEST_STR}" \
$DESELECTED_TESTS_STR \
"$@" \
py-polars/tests

0 comments on commit bae9c3c

Please sign in to comment.