Skip to content

Commit 2479408

Browse files
committed
workflows: Preserve errors when generating config
Signed-off-by: Wiktoria Kuna <[email protected]>
1 parent 68d6777 commit 2479408

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: .github/workflows/run-tests.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ jobs:
2222
name: Prepare test types
2323
run: |
2424
python3 -m pip install pyyaml
25-
echo "tests=$(python3 .github/scripts/parse_testlist.py $RISCV_TARGET)" | tee -a $GITHUB_OUTPUT
25+
python3 .github/scripts/parse_testlist.py $RISCV_TARGET > tests.list
26+
echo "tests=$(cat tests.list)" | tee -a $GITHUB_OUTPUT
2627
- id: hash
2728
name: Prepare files' hash
2829
run: |
29-
echo "files-hash=$(sha256sum **/*.sv **/*.py **/*.yml **/*.yaml | cut -d\ -f1 | sha256sum | cut -d\ -f1)" | tee -a $GITHUB_OUTPUT
30+
sha256sum **/*.sv **/*.py **/*.yaml > file.hash
31+
echo "files-hash=$(cat file.hash | cut -d\ -f1 | sha256sum | cut -d\ -f1)" | tee -a $GITHUB_OUTPUT
3032
3133
3234
generate-code:

0 commit comments

Comments
 (0)