Skip to content

Commit

Permalink
print found test files
Browse files Browse the repository at this point in the history
  • Loading branch information
colevandersWands authored Dec 28, 2024
1 parent f592b94 commit 3bea277
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bea277

Please sign in to comment.