Skip to content

automation-ui-test-run #23

automation-ui-test-run

automation-ui-test-run #23

name: automation-ui-test-run
on:
push:
paths:
- 'src/test/**'
schedule:
- cron: '10 9 * * 1,4'
env:
USER: ${{ secrets.USER }}
PASSWORD: ${{ secrets.PASSWORD }}
AUTHORIZATION: ${{ secrets.AUTHORIZATION }}
jobs:
test-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 22 for x64
uses: actions/setup-java@v4
with:
java-version: '22'
distribution: 'temurin'
architecture: x64
- name: Gradle run
run: ./gradlew -DincludeTags="regression"
- name: Load test report history
uses: actions/checkout@v3
if: always()
continue-on-error: true
with:
ref: gh-pages
path: gh-pages
- name: Build test report
uses: simple-elf/allure-report-action@v1.7
if: always()
with:
gh_pages: gh-pages
allure_history: allure-history
allure_results: build/allure-results
- name: Publish test report
uses: peaceiris/actions-gh-pages@v3
if: always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: allure-history