Skip to content

Commit 0ca0eb2

Browse files
committed
Upload extension log on tests errors
1 parent f41a6b7 commit 0ca0eb2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,10 @@ jobs:
2525
if: runner.os == 'Linux'
2626
- run: npm test
2727
if: runner.os != 'Linux'
28+
- name: Upload log file to workflow artifacts on error
29+
if: failure()
30+
uses: actions/upload-artifact@v2
31+
with:
32+
name: extension.log
33+
path: test-workspace/hls.log
34+

0 commit comments

Comments
 (0)