Skip to content

Commit 3c7027c

Browse files
authored
Update test-execution.yml (#9)
* Update test-execution.yml
1 parent 4334752 commit 3c7027c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test-execution.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,28 @@ jobs:
2828
run: ./gradlew test --info -Dbrowser=firefox -Dgroups=smoke
2929
- name: Run Regression Tests in Firefox
3030
run: ./gradlew test --info -Dbrowser=firefox -Dgroups=regression
31+
- name: Test marketplace action
32+
uses: simple-elf/allure-report-action@master
33+
if: always()
34+
id: allure-report
35+
with:
36+
allure_results: build/allure-results
37+
gh_pages: gh-pages
38+
allure_report: allure-report
39+
allure_history: allure-history
40+
- name: Deploy report to Github Pages
41+
if: always()
42+
uses: peaceiris/actions-gh-pages@v2
43+
env:
44+
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
PUBLISH_BRANCH: gh-pages
46+
PUBLISH_DIR: allure-history
47+
- name: Post the link to the report
48+
if: always()
49+
uses: Sibz/github-status-action@v1
50+
with:
51+
authToken: ${{secrets.GITHUB_TOKEN}}
52+
context: 'Test report'
53+
state: 'success'
54+
sha: ${{ github.event.pull_request.head.sha }}
55+
target_url: https://tahanima.github.io/playwright-java-test-automation-architecture/${{ github.run_number }}

0 commit comments

Comments
 (0)