Skip to content

Merge pull request #42 from Opetushallitus/tor-xxxx-paivita-kirjastoja #96

Merge pull request #42 from Opetushallitus/tor-xxxx-paivita-kirjastoja

Merge pull request #42 from Opetushallitus/tor-xxxx-paivita-kirjastoja #96

Workflow file for this run

name: Tests
on: push
env:
DOCKER_BUILDKIT: 1
TZ: Europe/Helsinki
jobs:
run_tests:
name: Run tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Java 8
uses: actions/setup-java@v1
with:
java-version: "8"
architecture: x64
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run backend tests
run: mvn install