mirror of
https://github.com/nextcloud/server.git
synced 2026-02-17 18:00:44 -05:00
Upload NC logs during cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
49134c6595
commit
c79f774dd6
1 changed files with 12 additions and 1 deletions
13
.github/workflows/cypress.yml
vendored
13
.github/workflows/cypress.yml
vendored
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
# run multiple copies of the current job in parallel
|
||||
containers: ['component', 1, 2]
|
||||
containers: ["component", 1, 2]
|
||||
|
||||
name: runner ${{ matrix.containers }}
|
||||
|
||||
|
|
@ -91,6 +91,17 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||
|
||||
- name: Extract NC logs
|
||||
if: always()
|
||||
run: docker-compose --project-directory cypress logs > nextcloud.log
|
||||
|
||||
- name: Upload NC logs
|
||||
uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
name: nc_logs_${{ matrix.containers }}
|
||||
path: nextcloud.log
|
||||
|
||||
summary:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [init, cypress]
|
||||
|
|
|
|||
Loading…
Reference in a new issue