@@ -30,16 +30,15 @@ jobs:
30
30
id : ${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.chip }}-${{ inputs.type }}
31
31
runs-on : ubuntu-latest
32
32
steps :
33
- # Disabled as Wokwi infrastrucutre is not stable (so we can re-trigger the tests manually)
34
- # - name: Check if already run
35
- # if: ${{ github.event.pull_request.number != null }}
36
- # id: get-cache-results
37
- # uses: actions/cache/restore@v4
38
- # with:
39
- # key: tests-${{ env.id }}-results-wokwi
40
- # path: |
41
- # tests/**/*.xml
42
- # tests/**/result_*.json
33
+ - name : Check if already run
34
+ if : ${{ github.event.pull_request.number != null }}
35
+ id : get-cache-results
36
+ uses : actions/cache/restore@v4
37
+ with :
38
+ key : tests-${{ env.id }}-results-wokwi
39
+ path : |
40
+ tests/**/*.xml
41
+ tests/**/result_*.json
43
42
44
43
- name : Evaluate if tests should be run
45
44
id : check-tests
@@ -100,15 +99,14 @@ jobs:
100
99
run : |
101
100
bash .github/scripts/tests_run.sh -c -type ${{ inputs.type }} -t ${{inputs.chip}} -i 0 -m 1 -W ${{env.WOKWI_TIMEOUT}}
102
101
103
- # Disabled as Wokwi infrastrucutre is not stable (so we can re-trigger the tests manually)
104
- # - name: Upload ${{ inputs.chip }} ${{ inputs.type }} Wokwi results as cache
105
- # uses: actions/cache/save@v4
106
- # if: ${{ always() && steps.check-tests.outputs.enabled == 'true' }}
107
- # with:
108
- # key: tests-${{ env.id }}-results-wokwi
109
- # path: |
110
- # tests/**/*.xml
111
- # tests/**/result_*.json
102
+ - name : Upload ${{ inputs.chip }} ${{ inputs.type }} Wokwi results as cache
103
+ uses : actions/cache/save@v4
104
+ if : ${{ always() && steps.check-tests.outputs.enabled == 'true' }}
105
+ with :
106
+ key : tests-${{ env.id }}-results-wokwi
107
+ path : |
108
+ tests/**/*.xml
109
+ tests/**/result_*.json
112
110
113
111
- name : Upload ${{ inputs.chip }} ${{ inputs.type }} Wokwi results as artifacts
114
112
uses : actions/upload-artifact@v4
0 commit comments