Skip to content

CI

CI #1666

Workflow file for this run

name: CI
on:
push:
branches:
- '[0-9]+.x'
pull_request:
branches:
- '[0-9]+.x'
schedule:
- cron: '0 4 * * *'
jobs:
Test:
name: Run tests
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
jdk: [11]
include:
- os: ubuntu-latest
jdk: 21
runs-on: ${{ matrix.os }}
steps:
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-java-${{ matrix.jdk }}
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
uses: joschi/setup-jdk@v2
with:
java-version: ${{ matrix.jdk }}
- name: Run tests
run: mvn clean verify -B -s settings.xml