Display error logs in CI
This commit is contained in:
parent
17ae86e912
commit
12554857b4
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -95,10 +95,9 @@ jobs:
|
||||||
if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
|
if: github.event_name == 'schedule' || matrix.test_suite != 'external-plugins'
|
||||||
run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
|
run: NODE_PENDING_JOB_WAIT=2000 npm run ci -- ${{ matrix.test_suite }}
|
||||||
|
|
||||||
- name: Display directories state
|
- name: Display errors
|
||||||
if: failure()
|
|
||||||
run: |
|
run: |
|
||||||
ls -l test*
|
NODE_ENV=test node dist/scripts/parse-log.js -l error -f artifacts/*.log
|
||||||
|
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user