-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (45 loc) · 1.29 KB
/
automation-ui-test-run.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
44
45
name: automation-ui-test-run
on:
push:
paths:
- 'src/test/**'
schedule:
- cron: '0 9 * * 1,4'
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
- uses: browser-actions/setup-chrome@latest
with:
chrome-version: 128
install-chromedriver: true
- name: Gradle run
run: ./gradlew -DincludeTags="regression" -Ddriver="chrome" -DdriverArguments="--headless=new;--window-size=1920,1080;"
- 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