-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.08 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: KoTest Allure Report Poc
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Get code
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: run test and make report
run: |
./gradlew clean test allureReport
shell: bash
# - name: Copy reporter-readme.txt to report directory
# run: cp reporter-readme.txt build/reports/allure-report/allureReport
# - name: Upload test report
# uses: actions/upload-artifact@v4
# with:
# name: test-report-by-allure
# path: build/reports/allure-report
- name: Deploy report page
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/reports/allure-report/allureReport