Upload screenshots of failures with GitHub Actions
This commit is contained in:
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -49,3 +49,9 @@ jobs:
|
||||
KNAPSACK_PRO_FIXED_QUEUE_SPLIT: true
|
||||
KNAPSACK_PRO_LOG_LEVEL: info
|
||||
run: bin/knapsack_pro_rspec
|
||||
- name: Upload screenshots
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: screenshots
|
||||
path: tmp/screenshots
|
||||
|
||||
Reference in New Issue
Block a user