diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..0a412667 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,22 @@ +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: "Checking out" + uses: actions/checkout@v2 + + - name: "Setting up Java" + uses: actions/setup-java@v1 + with: + java-version: '11.x' + + - name: "Maven repository caching" + uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + + - name: "Run the testsuite" + run: ./mvnw clean install -P-docker --no-transfer-progress -B