Skip to content

Write the first test #1

Write the first test

Write the first test #1

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
run-test:
name: 'Run tests'
runs-on: ubuntu-latest
steps:
- name: Git clone
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Cache maven
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('./pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Maven test
run: mvn -B package --file pom.xml
env:
CHROME_OPTIONS: --disable-gpu;--no-sandbox;--disable-dev-shm-usage;--headless;--window-size=1920,1080
CI_RUN: true