File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Allure Report
2+ run-name : ${{ github.actor }} is creating Allure report 🚀
3+
4+ on :
5+ push :
6+ branches-ignore :
7+ - ' !main'
8+
9+ jobs :
10+ autotests :
11+ name : Run tests and generate Allure Report
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Clone repository
15+ uses : actions/checkout@v4.2.2
16+
17+ - name : Set up Java 21
18+ uses : actions/setup-java@v4.5.0
19+ with :
20+ java-version : 21
21+ cache : ' gradle'
22+ distribution : ' zulu'
23+
24+ - name : Run Test
25+ run : ./gradlew test
26+ continue-on-error : true
27+
28+ - name : Setup Allure History
29+ uses : actions/checkout@v4.2.2
30+ if : always()
31+ continue-on-error : true
32+ with :
33+ ref : gh-pages
34+ path : gh-pages
35+
36+ - name : Generate Allure Report
37+ uses : simple-elf/allure-report-action@v1.11
38+ if : always()
39+ with :
40+ allure_results : build/allure-results
41+ allure_history : allure-history
42+
43+ - name : Publish Allure Report
44+ if : always()
45+ uses : peaceiris/actions-gh-pages@v4.0.0
46+ with :
47+ github_token : ${{ secrets.GITHUB_TOKEN }}
48+ publish_branch : gh-pages
49+ publish_dir : allure-history
You can’t perform that action at this time.
0 commit comments