misc: Fix daily tests

The dailies timed out as they were running the entire directory
of tests due to a wrong variable named being used.  In addition,
the names of tests were adjusted to include the matrix type so
the artifacts won't overwrite each other

Change-Id: Iaa1be8e0cfcbf9d64f1a674590bfe2bf1f0dae90
This commit is contained in:
Melissa Jost
2023-08-03 17:00:07 -07:00
parent 0ff485f7d0
commit e7c8a12349

View File

@@ -137,7 +137,7 @@ jobs:
# run test # run test
- name: long ${{ matrix.test-type }} tests - name: long ${{ matrix.test-type }} tests
working-directory: ${{ github.workspace }}/tests working-directory: ${{ github.workspace }}/tests
run: ./main.py run gem5/${{ matrix.image }} --length=long --skip-build -vv -t $(nproc) run: ./main.py run gem5/${{ matrix.test-type }} --length=long --skip-build -vv -t $(nproc)
- name: create zip of results - name: create zip of results
if: success() || failure() if: success() || failure()
run: | run: |
@@ -147,7 +147,7 @@ jobs:
if: success() || failure() if: success() || failure()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
env: env:
MY_STEP_VAR: ${{github.job}}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}} MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
with: with:
name: ${{ env.MY_STEP_VAR }} name: ${{ env.MY_STEP_VAR }}
path: output.zip path: output.zip
@@ -193,7 +193,7 @@ jobs:
if: success() || failure() if: success() || failure()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
env: env:
MY_STEP_VAR: ${{github.job}}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}} MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
with: with:
name: ${{ env.MY_STEP_VAR }} name: ${{ env.MY_STEP_VAR }}
path: output.zip path: output.zip