From 22597004c860aeecf3c5481e5a57738fcc87a04d Mon Sep 17 00:00:00 2001 From: Leon Schuermann Date: Fri, 1 Nov 2024 14:20:03 -0400 Subject: [PATCH] Update treadmill-ci-test.yml --- .github/workflows/treadmill-ci-test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/treadmill-ci-test.yml b/.github/workflows/treadmill-ci-test.yml index 04dc2cc..9cd5030 100644 --- a/.github/workflows/treadmill-ci-test.yml +++ b/.github/workflows/treadmill-ci-test.yml @@ -43,9 +43,11 @@ jobs: - name: Select all defined tests id: analyze-changes run: | - HWCI_TESTS_JSON="$(jq -n '$ARGS.positional' --args hwci/tests/*)" - echo "Selected HWCI tests: ${HWCI_TESTS_JSON}" + pushd hwci/ + HWCI_TESTS_JSON="$(jq -c -n '$ARGS.positional' --args tests/*.py)" + echo "Selected HWCI tests: $(echo "${HWCI_TESTS_JSON}" | jq .)" echo "hwci-tests=${HWCI_TESTS_JSON}" >> "$GITHUB_OUTPUT" + popd run-treadmill-ci: needs: [analyze-changes]