Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/run-ats/ats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if [ ! -s codecov_ats/tests_to_run.txt ]; then
echo "No tests to run, collecting from default tests"
PYTEST_ARGS="${COLLECT_ARGS} ${DEFAULT_TESTS}"
echo "Using args: ${PYTEST_ARGS}"
TESTS_TO_RUN=$(PYTEST_ARGS=${PYTEST_ARGS} ./.circleci/collect.sh)
TESTS_TO_RUN=$(PYTEST_ARGS=${PYTEST_ARGS} ./.github/actions/run-ats/collect.sh)
echo "${TESTS_TO_RUN}" > codecov_ats/tests_to_run.txt
run_count=1
echo "Added ${TESTS_TO_RUN} as fallback. New run count: $run_count"
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/run-ats/collect.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
TESTS_TO_RUN=$(uv run --frozen pytest --collect-only ${PYTEST_ARGS} -q --disable-warnings --no-summary --no-header)
TESTS_TO_RUN=$(echo "${TESTS_TO_RUN}" | head -n -2)
echo $TESTS_TO_RUN