-
-
Notifications
You must be signed in to change notification settings - Fork 113
31 lines (26 loc) · 739 Bytes
/
Copy pathtest-execution.yml
File metadata and controls
31 lines (26 loc) · 739 Bytes
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
name: Selenium Java CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- name: Install Google Chrome
run: |
chmod +x ./script/install_chrome.sh
./script/install_chrome.sh
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run Smoke Tests in Chrome
run: ./gradlew test --info -Dgroups=smoke
- name: Run Regression Tests in Chrome
run: ./gradlew test --info -Dgroups=regression