aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-06-18 11:54:52 -0400
committerAjay <[email protected]>2022-06-18 11:54:52 -0400
commit986630d0a1a481cfff3d4f0733432bf40b000137 (patch)
treefddbcc901515735f1f1dc462538a58c727e5a568 /.github/workflows/tests.yml
parentae23bfffe1f6a2e0de9a8e08e72d9e0399f283ff (diff)
downloadSponsorBlock-986630d0a1a481cfff3d4f0733432bf40b000137.tar.gz
SponsorBlock-986630d0a1a481cfff3d4f0733432bf40b000137.zip
Save file on test failure
Fixes #1366
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 5a87e1ee..b14925ec 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -19,4 +19,11 @@ jobs:
- name: Copy configuration
run: cp config.json.example config.json
- name: Run tests
- run: npm run test \ No newline at end of file
+ run: npm run test
+
+ - name: Upload results on fail
+ if: ${{ failure() }}
+ uses: actions/upload-artifact@v3
+ with:
+ name: Test Results
+ path: ./test-results \ No newline at end of file