Skip to content

Merge branch 'master' of github.com:burakkaygusuz/selenium-java-archi… #25

Merge branch 'master' of github.com:burakkaygusuz/selenium-java-archi…

Merge branch 'master' of github.com:burakkaygusuz/selenium-java-archi… #25

Workflow file for this run

name: Selenium Java Architecture Skeleton
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
cache: maven
- name: Start Selenium Docker Grid setup
run: docker-compose -f "docker-compose.yml" up -d --build
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn --batch-mode --update-snapshots clean compile
- name: Run the tests
run: mvn test