File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ function run_test() {
84
84
fi
85
85
86
86
echo " pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args "
87
- bash -c " pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args "
88
- result= $?
87
+ bash -c " set +e ; pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args ; exit \$ ? " || result= $?
88
+ echo " Test $sketchname return code: $result "
89
89
if [ $result -ne 0 ]; then
90
90
error=$result
91
91
fi
Original file line number Diff line number Diff line change 41
41
# tests/**/*.xml
42
42
# tests/**/result_*.json
43
43
44
+ - uses : LIT-Protocol/artifact-exists-action@v0
45
+ id : check-artifact
46
+ with :
47
+ name : " tests-results-wokwi-${{ inputs.chip }}-${{ inputs.type }}"
48
+
44
49
- name : Evaluate if tests should be run
45
50
id : check-tests
46
51
run : |
52
+ echo "Artifact exists: ${{ steps.check-artifact.outputs.exists }}"
47
53
cache_exists=${{ steps.get-cache-results.outputs.cache-hit == 'true' || false }}
48
54
enabled=true
49
55
You can’t perform that action at this time.
0 commit comments