From 65193433a4048928002b5d665c023d8298a42684 Mon Sep 17 00:00:00 2001 From: Evan Cole <18554853+colevandersWands@users.noreply.github.com> Date: Sat, 28 Dec 2024 10:54:46 -0500 Subject: [PATCH 1/3] Create __init__.py --- solutions/tests/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 solutions/tests/__init__.py diff --git a/solutions/tests/__init__.py b/solutions/tests/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/solutions/tests/__init__.py @@ -0,0 +1 @@ + From f592b9421ff3ee2d1c785cbf67fd6cf3f15ce7f9 Mon Sep 17 00:00:00 2001 From: Evan Cole <18554853+colevandersWands@users.noreply.github.com> Date: Sat, 28 Dec 2024 11:15:50 -0500 Subject: [PATCH 2/3] Create __init__.py --- solutions/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 solutions/__init__.py diff --git a/solutions/__init__.py b/solutions/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/solutions/__init__.py @@ -0,0 +1 @@ + From 3bea277e3faab93449bef28d3ada4996504fb3de Mon Sep 17 00:00:00 2001 From: Evan Cole <18554853+colevandersWands@users.noreply.github.com> Date: Sat, 28 Dec 2024 11:18:32 -0500 Subject: [PATCH 3/3] print found test files --- .github/workflows/ci-checks.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml index 48c2bad88..b3d7b0052 100644 --- a/.github/workflows/ci-checks.yml +++ b/.github/workflows/ci-checks.yml @@ -63,9 +63,13 @@ jobs: - name: Check for test files id: check_tests run: | - if find . -type f -name "test_*.py" | grep -q .; then + test_files=$(find ./solutions/tests -type f -name "test_*.py") + if [ -n "$test_files" ]; then + echo "Found test files:" + echo "$test_files" echo "has_tests=true" >> $GITHUB_OUTPUT else + echo "No test files found matching pattern ./solutions/tests/test_*.py" echo "has_tests=false" >> $GITHUB_OUTPUT fi shell: bash