mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
Upload NC logs during cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
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]
|
||||
|
||||
Reference in New Issue
Block a user