Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always upload artifacts
Browse files Browse the repository at this point in the history
Add run logs to artifacts
kareefardi committed Apr 15, 2024

Verified

This commit was signed with the committer’s verified signature.
kareefardi Kareem Farid
1 parent 966fa0c commit 83ed298
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 14 additions & 1 deletion .github/actions/run-test/action.yaml
Original file line number Diff line number Diff line change
@@ -29,6 +29,10 @@ runs:
echo "Running Test $test"
make run_$test RTL_MACROS="-DSKIP_WAVE_DUMP"
done
- name: Tar Test Logs
shell: bash
working-directory: /home/runner/work/${{ inputs.name }}/verify/uvm-python
run: tar -czf default_tag.tar.gz sim/default_tag
- name: Check Test Results
shell: bash
working-directory: /home/runner/work/${{ inputs.name }}/verify/uvm-python
@@ -51,16 +55,25 @@ runs:
echo "All tests passed successfully"
fi
- name: Save IP Commit Hash
if: always()
shell: bash
working-directory: /home/runner/work/${{ inputs.name }}/verify/uvm-python
run: git rev-parse --verify HEAD > /tmp/ip-commit-hash.txt
- name: Save EF_UVM Commit Hash
if: always()
shell: bash
run: git rev-parse --verify HEAD > /tmp/EF_UVM-commit-hash.txt
- uses: actions/upload-artifact@v4
if: always()
with:
name: commit-hashes
path: /tmp/*hash.txt
- uses: actions/upload-artifact@v4
if: always()
with:
name: my-artifact
name: default_tag
path: /tmp/*hash.txt




2 changes: 0 additions & 2 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
@@ -28,5 +28,3 @@ jobs:
url: ${{ matrix.tests.url }}
test-names: ${{ matrix.tests.test-names }}
name: ${{ matrix.tests.name }}


0 comments on commit 83ed298

Please sign in to comment.