mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
build: upload also failed test html report
This commit is contained in:
parent
799f00cc98
commit
d9adf5b073
3 changed files with 11 additions and 11 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -54,13 +54,13 @@ jobs:
|
|||
with:
|
||||
name: nightwatch-performance-metrics
|
||||
path: perf-metrics*.json
|
||||
- name: 'Upload E2E screenshots on failure'
|
||||
if: ${{ always() }}
|
||||
- name: 'Upload E2E results on failure'
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: e2eScreenshots
|
||||
path: e2e/screenshots/**/*.*
|
||||
retention-days: 5
|
||||
name: e2eResults
|
||||
path: e2e-test-results/**/*.*
|
||||
retention-days: 14
|
||||
|
||||
- name: Build Frontend & Electron
|
||||
run: npm run build
|
||||
|
|
|
|||
10
.github/workflows/lint-and-test-pr.yml
vendored
10
.github/workflows/lint-and-test-pr.yml
vendored
|
|
@ -66,10 +66,10 @@ jobs:
|
|||
Perf Result
|
||||
${{ env.e2ePerfResult }}
|
||||
|
||||
- name: 'Upload E2E screenshots on failure'
|
||||
if: ${{ always() }}
|
||||
- name: 'Upload E2E results on failure'
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: e2eScreenshots
|
||||
path: e2e/screenshots/**/*.*
|
||||
retention-days: 5
|
||||
name: e2eResults
|
||||
path: e2e-test-results/**/*.*
|
||||
retention-days: 14
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ module.exports = {
|
|||
enabled: true, // if you want to keep screenshots
|
||||
on_failure: true,
|
||||
on_error: true,
|
||||
path: './e2e/screenshots', // save screenshots here
|
||||
path: './e2e-test-results/screenshots', // save screenshots here
|
||||
},
|
||||
globals: {
|
||||
waitForConditionPollInterval: 500,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue