File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed
Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change 1- name : Run tests
1+ name : Run tests and publish the report
22on : [push]
3+
4+ permissions : write-all
5+
36jobs :
47 test :
58 runs-on : ubuntu-latest
1316 java-version : 17
1417
1518 - name : Run tests
16- run : SELENIDE_URL="${{ vars.SELENIDE_URL }}" ./gradlew clean test
19+ run : SELENIDE_URL="${{ vars.SELENIDE_URL }}" ./gradlew clean test
20+
21+ - name : Load test report history
22+ uses : actions/checkout@v4
23+ if : always()
24+ continue-on-error : true
25+ with :
26+ ref : gh-pages
27+ path : gh-pages
28+
29+ - name : Build test report
30+ uses :
simple-elf/[email protected] 31+ if : always()
32+ with :
33+ gh_pages : gh-pages
34+ allure_history : allure-history
35+ allure_results : build/allure-results
36+
37+ - name : Publish test report
38+ uses : peaceiris/actions-gh-pages@v4
39+ if : always()
40+ with :
41+ github_token : ${{ secrets.GITHUB_TOKEN }}
42+ publish_branch : gh-pages
43+ publish_dir : allure-history
You can’t perform that action at this time.
0 commit comments