-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 787 Bytes
/
run.yml
File metadata and controls
33 lines (27 loc) · 787 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
32
33
name: Playwright Automated Testing Framework
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "**" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Remove Chrome
run: sudo apt purge google-chrome-stable
- name: Remove default Chromium
run: sudo apt purge chromium-browser
- name: Install Google Chrome # Using shell script to install Google Chrome
run: |
chmod +x ./.github/scripts/InstallChrome.sh
./.github/scripts/InstallChrome.sh
- name: Test
run: mvn clean test -Ptest