diff options
author | Louis Chemineau <louis@chmn.me> | 2023-03-22 14:57:53 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-03-30 10:09:13 +0200 |
commit | c79f774dd680eb0eaefe334e7149cddeb82b58e2 (patch) | |
tree | ab0cf990ed2e24ab20f50b2ab376d74d98b1f3de /.github | |
parent | 49134c65954e7d2e6aa22960a16bd71f5d79403f (diff) | |
download | nextcloud-server-c79f774dd680eb0eaefe334e7149cddeb82b58e2.tar.gz nextcloud-server-c79f774dd680eb0eaefe334e7149cddeb82b58e2.zip |
Upload NC logs during cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cypress.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index ea1a741f574..9a1d34a9213 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -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] |