@@ -30,16 +30,15 @@ jobs:
3030 id : ${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.chip }}-${{ inputs.type }}
3131 runs-on : ubuntu-latest
3232 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
4342
4443 - name : Evaluate if tests should be run
4544 id : check-tests
@@ -100,15 +99,14 @@ jobs:
10099 run : |
101100 bash .github/scripts/tests_run.sh -c -type ${{ inputs.type }} -t ${{inputs.chip}} -i 0 -m 1 -W ${{env.WOKWI_TIMEOUT}}
102101
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
112110
113111 - name : Upload ${{ inputs.chip }} ${{ inputs.type }} Wokwi results as artifacts
114112 uses : actions/upload-artifact@v4
0 commit comments