From e6b6b7f6102deb2c75d42c50914f536c179b5752 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 24 Aug 2022 13:45:03 -0700 Subject: [PATCH] chore: upload playwright videos on failure (#3677) --- .github/workflows/coder.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index f64424d98c..f15e3be065 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -661,6 +661,14 @@ jobs: DEBUG: pw:api working-directory: site + - name: Upload Playwright Failed Tests + if: always() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork + uses: actions/upload-artifact@v3 + with: + name: failed-test-videos + path: ./site/test-results/**/*.webm + retention:days: 7 + - name: Upload DataDog Trace if: always() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork env: