Skip to content

Commit e6b2e62

Browse files
code changes in config
1 parent d7a48d5 commit e6b2e62

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.circleci/config.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,40 @@ jobs:
6060
default: false
6161
steps:
6262
- checkout
63+
- run:
64+
name: Debug - Check if this is a PR
65+
command: |
66+
echo "CIRCLE_PULL_REQUEST: $CIRCLE_PULL_REQUEST"
67+
echo "CIRCLE_PR_NUMBER: $CIRCLE_PR_NUMBER"
6368
- attach_workspace:
6469
at: ~/
70+
- run:
71+
name: Debug - Check workspace contents
72+
command: |
73+
echo "Contents of HOME directory:"
74+
ls -la $HOME/
75+
echo "Looking for resources directory:"
76+
find $HOME -name "resources" -type d 2>/dev/null || echo "No resources directory found"
6577
- run:
6678
name: Create resources symlink
6779
command: |
6880
if [ -d "${HOME}/resources" ]; then
81+
echo "Found ${HOME}/resources, copying to /tmp/resources"
6982
sudo mkdir -p /tmp/resources
7083
sudo cp -r ${HOME}/resources/* /tmp/resources/
7184
ls -la /tmp/resources/
85+
else
86+
echo "Directory ${HOME}/resources does not exist"
87+
echo "Creating empty /tmp/resources for fallback"
88+
sudo mkdir -p /tmp/resources
7289
fi
7390
- run: echo "TEST_RESOURCES=$TEST_RESOURCES"
74-
- run: ls -l $TEST_RESOURCES
91+
- run: |
92+
if [ -d "$TEST_RESOURCES" ]; then
93+
ls -l $TEST_RESOURCES
94+
else
95+
echo "TEST_RESOURCES directory $TEST_RESOURCES does not exist"
96+
fi
7597
- run:
7698
name: make << parameters.test-to-run >>
7799
command: |

0 commit comments

Comments
 (0)