Skip to content

Add testing/automated-testing branch to branches section #1

Add testing/automated-testing branch to branches section

Add testing/automated-testing branch to branches section #1

Workflow file for this run

name: CI
on:
push:
branches:
- master
- testing/automated-testing
pull_request:
branches:
- master
- testing/automated-testing
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2 # clone the repository's code into the runner
- name: Set up JDK 21
uses: actions/setup-java@v1 # Install and configure a specific version of the JDK.
with:
java-version: '21'
- name: Cache Maven packages
uses: actions/cache@v2 # This uses the cache action to cache dependencies to speed up the workflow.
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven
- name: Build with Maven
run: mvn clean install
- name: Run tests
run: mvn test