mirror of
https://github.com/gavvvr/obsidian-timecodes-plugin.git
synced 2026-07-22 05:38:08 +00:00
ci: add link to E2E tests report
This commit is contained in:
parent
8695a91dc1
commit
e8f1c93f62
1 changed files with 12 additions and 1 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -61,6 +61,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs: Build
|
||||
if: always() && needs.Build.outputs.e2e_tests_outcome != 'skipped'
|
||||
env:
|
||||
E2E_GH_PAGES_SUBFOLDER: e2e-tests-reports
|
||||
steps:
|
||||
- name: Download Allure results
|
||||
uses: actions/download-artifact@v4
|
||||
|
|
@ -77,7 +79,7 @@ jobs:
|
|||
uses: simple-elf/allure-report-action@v1.13
|
||||
with:
|
||||
allure_results: e2e/out/allure-results
|
||||
subfolder: e2e-tests-reports
|
||||
subfolder: ${{ env.E2E_GH_PAGES_SUBFOLDER }}
|
||||
gh_pages: gh-pages
|
||||
allure_report: allure-report
|
||||
allure_history: allure-history
|
||||
|
|
@ -87,6 +89,15 @@ jobs:
|
|||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_branch: gh-pages
|
||||
publish_dir: allure-history
|
||||
- name: Publish tests results link
|
||||
uses: guibranco/github-status-action-v2@latest
|
||||
with:
|
||||
authToken: ${{secrets.GITHUB_TOKEN}}
|
||||
context: 'E2E tests report'
|
||||
description: ''
|
||||
state: ${{ needs.Build.outputs.e2e_tests_outcome }}
|
||||
sha: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||
target_url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{ env.E2E_GH_PAGES_SUBFOLDER }}/${{ github.run_number }}
|
||||
|
||||
SonarScan:
|
||||
needs: Build
|
||||
|
|
|
|||
Loading…
Reference in a new issue