Skip to content

Commit 1b4af15

Browse files
committed
Add debug output to workflow
1 parent c612218 commit 1b4af15

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/run-java-spring-boot-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ jobs:
3535
- name: Make mvnw executable
3636
run: chmod +x mvnw
3737

38+
- name: Debug environment variables
39+
run: |
40+
echo "Checking environment variables..."
41+
echo "MONGODB_URI is set: $(if [ -n "$MONGODB_URI" ]; then echo 'YES'; else echo 'NO'; fi)"
42+
echo "ENABLE_SEARCH_TESTS is set: $(if [ -n "$ENABLE_SEARCH_TESTS" ]; then echo 'YES'; else echo 'NO'; fi)"
43+
echo "MONGODB_URI length: ${#MONGODB_URI}"
44+
3845
- name: Run unit tests
3946
run: ./mvnw test
4047

0 commit comments

Comments
 (0)