File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -60,18 +60,40 @@ jobs:
60
60
default : false
61
61
steps :
62
62
- 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"
63
68
- attach_workspace :
64
69
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"
65
77
- run :
66
78
name : Create resources symlink
67
79
command : |
68
80
if [ -d "${HOME}/resources" ]; then
81
+ echo "Found ${HOME}/resources, copying to /tmp/resources"
69
82
sudo mkdir -p /tmp/resources
70
83
sudo cp -r ${HOME}/resources/* /tmp/resources/
71
84
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
72
89
fi
73
90
- 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
75
97
- run :
76
98
name : make << parameters.test-to-run >>
77
99
command : |
You can’t perform that action at this time.
0 commit comments