diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 8218706..54b4b4e 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -39,3 +39,27 @@ jobs: if: always() # always run even if the previous step fails with: report_paths: 'junit-results/*.xml' + + - name: Get Allure history + uses: actions/checkout@v4 + if: always() + continue-on-error: true + with: + ref: gh-pages + path: gh-pages + + - name: Allure Report action from marketplace + uses: simple-elf/allure-report-action@master + if: always() + with: + allure_results: allure-results + allure_history: allure-history + keep_reports: 20 + + - name: "Publish test results" + uses: peaceiris/actions-gh-pages@v4 + if: always() + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: allure-report/ + keep_files: true