File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -358,19 +358,17 @@ jobs:
358358 if : ${{ failure() && steps.testing.outcome == 'failure' }}
359359 run : grep -riP 'fail|error' /tmp/hwsim-test-logs/latest
360360
361- # The logs are quite big. It hasn't been useful so far so let's not waste
362- # precious gh space.
363- # - name: zip logs
364- # if: ${{ failure() && steps.testing.outcome == 'failure' }}
365- # working-directory: hostap/tests/hwsim/
366- # run: |
367- # rm /tmp/hwsim-test-logs/latest
368- # zip -9 -r logs.zip /tmp/hwsim-test-logs
369- #
370- # - name: Upload failure logs
371- # if: ${{ failure() && steps.testing.outcome == 'failure' }}
372- # uses: actions/upload-artifact@v4
373- # with:
374- # name: hostap-logs-${{ env.our_job_run_id }}
375- # path: hostap/tests/hwsim/logs.zip
376- # retention-days: 5
361+ - name : zip logs
362+ if : ${{ failure() && steps.testing.outcome == 'failure' }}
363+ working-directory : hostap/tests/hwsim/
364+ run : |
365+ rm /tmp/hwsim-test-logs/latest
366+ zip -9 -r logs.zip /tmp/hwsim-test-logs
367+
368+ - name : Upload failure logs
369+ if : ${{ failure() && steps.testing.outcome == 'failure' }}
370+ uses : actions/upload-artifact@v4
371+ with :
372+ name : hostap-logs-${{ env.our_job_run_id }}
373+ path : hostap/tests/hwsim/logs.zip
374+ retention-days : 5
You can’t perform that action at this time.
0 commit comments