-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated logger hook and added link for report
- Loading branch information
AEkaterina
committed
Oct 24, 2023
1 parent
df38557
commit 6062fa3
Showing
3 changed files
with
38 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,38 +62,41 @@ jobs: | |
name: allure-report | ||
path: target/site/allure-maven-plugin | ||
|
||
# - name: Get Allure history | ||
# uses: actions/checkout@v3 | ||
# if: always() | ||
# continue-on-error: true | ||
# with: | ||
# ref: gh-pages | ||
# path: gh-pages | ||
- name: Get Allure history | ||
uses: actions/checkout@v3 | ||
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() | ||
# id: allure-report | ||
# with: | ||
# allure_results: allure-results | ||
# gh_pages: gh-pages | ||
# allure_report: allure-report | ||
# allure_history: allure-history | ||
- name: Allure Report action from marketplace | ||
uses: PavanMudigonda/[email protected] | ||
if: always() | ||
id: allure-report | ||
with: | ||
token: ${{ secrets.PERSONAL_TOKEN }} | ||
WORKFLOW_ID: maven.yml | ||
allure_results: allure-results | ||
gh_pages: gh-pages | ||
allure_report: allure-report | ||
allure_history: allure-history | ||
|
||
# - name: Deploy report to GitHub Pages | ||
# if: always() | ||
# uses: peaceiris/actions-gh-pages@v2 | ||
# env: | ||
# PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} | ||
# PUBLISH_BRANCH: gh-pages | ||
# PUBLISH_DIR: allure-history | ||
- name: Deploy report to GitHub Pages | ||
if: always() | ||
uses: peaceiris/actions-gh-pages@v2 | ||
env: | ||
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} | ||
PUBLISH_BRANCH: gh-pages | ||
PUBLISH_DIR: allure-history | ||
keep_files: true | ||
|
||
# - name: Post the link to the report | ||
# if: always() | ||
# uses: Sibz/github-status-action@v1 | ||
# with: | ||
# authToken: ${{secrets.PERSONAL_TOKEN}} | ||
# context: 'Test report' | ||
# state: 'success' | ||
# sha: ${{ github.event.pull_request.head.sha || github.sha }} | ||
# target_url: https://thepalaceproject.github.io/allure-html-reporter-github-pages/${{ github.run_number }} | ||
- name: Post the link to the report | ||
if: always() | ||
uses: Sibz/github-status-action@v1 | ||
with: | ||
authToken: ${{secrets.PERSONAL_TOKEN}} | ||
context: 'Test report' | ||
state: 'success' | ||
sha: ${{ github.event.pull_request.head.sha || github.sha }} | ||
target_url: https://thepalaceproject.github.io/allure-html-reporter-github-pages/${{ github.run_number }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters