change token #5
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
name: KoTest Allure Report Poc | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
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: 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 |