Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Commit

Permalink
Create workflow for testing PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas authored Nov 17, 2021
1 parent ba1764d commit 0bdbcde
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
name: Test PR

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip]')"
steps:
- uses: actions/checkout@v2
- name: Set up JDK 15
uses: actions/setup-java@v1
with:
java-version: 15
server-id: github
settings-path: ${{ github.workspace }}

- name: Build with Maven
run: mvn clean package --file $GITHUB_WORKSPACE/pom.xml

0 comments on commit 0bdbcde

Please sign in to comment.