File tree 7 files changed +8
-31
lines changed
7 files changed +8
-31
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ function run_test() {
9
9
local sketchname=$( basename $sketchdir )
10
10
11
11
if [[ -f " $sketchdir /.skip.$platform " ]] || [[ -f " $sketchdir /.skip.$target " ]] || [[ -f " $sketchdir /.skip.$platform .$target " ]]; then
12
- echo " Skipping $sketchname test in $target for $platform "
12
+ echo " Skipping $sketchname test for $target , platform: $platform "
13
+ skipfile=" $sketchdir /.test_skipped"
14
+ touch $skipfile
13
15
exit 0
14
16
fi
15
17
188
190
start_index=$(( $chunk_index * $chunk_size ))
189
191
if [ " $sketchcount " -le " $start_index " ]; then
190
192
echo " Skipping job"
191
- touch ~ /.test_skipped
193
+ touch $PWD /tests /.test_skipped
192
194
exit 0
193
195
fi
194
196
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ jobs:
191
191
- name : Check if tests were skipped
192
192
id : check-test-skipped
193
193
run : |
194
- if [ -f ~/ .test_skipped ]; then
194
+ if [ $(find "tests" -name " .test_skipped") ]; then
195
195
echo "skipped=true" >> $GITHUB_OUTPUT
196
196
else
197
197
echo "skipped=false" >> $GITHUB_OUTPUT
@@ -242,7 +242,7 @@ jobs:
242
242
- name : Check if tests were skipped
243
243
id : check-test-skipped
244
244
run : |
245
- if [ -f ~/ .test_skipped ]; then
245
+ if [ $(find "tests" -name " .test_skipped") ]; then
246
246
echo "skipped=true" >> $GITHUB_OUTPUT
247
247
else
248
248
echo "skipped=false" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 85
85
- name : Check if tests were skipped
86
86
id : check-test-skipped
87
87
run : |
88
- if [ -f ~/ .test_skipped ]; then
88
+ if [ $(find "tests" -name " .test_skipped") ]; then
89
89
echo "skipped=true" >> $GITHUB_OUTPUT
90
90
else
91
91
echo "skipped=false" >> $GITHUB_OUTPUT
@@ -112,7 +112,7 @@ jobs:
112
112
const owner = '${{ github.repository_owner }}';
113
113
const repo = '${{ github.repository }}'.split('/')[1];
114
114
const sha = '${{ github.event.workflow_run.head_sha }}';
115
- const result = '${{ needs.wokwi-test.result }}';
115
+ const result = '${{ needs.wokwi-test.result }}' == 'success' ? 'success' : 'failure' ;
116
116
core.debug(`owner: ${owner}`);
117
117
core.debug(`repo: ${repo}`);
118
118
core.debug(`sha: ${sha}`);
Original file line number Diff line number Diff line change 1
1
#include < unity.h>
2
2
#include " soc/soc_caps.h"
3
-
4
- #if SOC_TOUCH_SENSOR_NUM > 0
5
-
6
3
#include " driver/touch_pad.h"
7
4
8
5
#if CONFIG_IDF_TARGET_ESP32
@@ -150,25 +147,3 @@ void setup() {
150
147
}
151
148
152
149
void loop () {}
153
-
154
- #else
155
- // PASS TEST for UNSUPPORTED CHIPS
156
-
157
- void test_pass (void ) {
158
- TEST_ASSERT_EQUAL (1 , 1 );
159
- }
160
-
161
- void setup () {
162
- Serial.begin (115200 );
163
- while (!Serial) {
164
- ;
165
- }
166
-
167
- UNITY_BEGIN ();
168
- RUN_TEST (test_pass);
169
- UNITY_END ();
170
- }
171
-
172
- void loop () {}
173
-
174
- #endif
You can’t perform that action at this time.
0 commit comments