From 98925cb0d51e3bdd7109c4674892dba2906c3e60 Mon Sep 17 00:00:00 2001 From: Woodii <1322756558@qq.com> Date: Mon, 27 Jan 2025 15:58:08 +0800 Subject: [PATCH] I just wanna tell you how I'm feeling --- .github/workflows/cd.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f92adfa..b1ec3b5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -24,9 +24,11 @@ jobs: - name: Ensure browsers are installed run: python -m playwright install --with-deps - name: Run your tests - run: pytest --tracing=retain-on-failure + run: pytest --tracing=retain-on-failure --html=report.html --self-contained-html - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: playwright-traces - path: test-results/ + path: | + test-results/ + report.html