Upload screenshots of failures with GitHub Actions

This commit is contained in:
Javi Martín
2021-04-02 17:01:35 +02:00
parent 8711fda270
commit a504921eca

View File

@@ -49,3 +49,9 @@ jobs:
KNAPSACK_PRO_FIXED_QUEUE_SPLIT: true KNAPSACK_PRO_FIXED_QUEUE_SPLIT: true
KNAPSACK_PRO_LOG_LEVEL: info KNAPSACK_PRO_LOG_LEVEL: info
run: bin/knapsack_pro_rspec run: bin/knapsack_pro_rspec
- name: Upload screenshots
if: failure()
uses: actions/upload-artifact@v2
with:
name: screenshots
path: tmp/screenshots