Skip to content

Commit

Permalink
Merge pull request #19 from ozgen/task/add-pr-policy
Browse files Browse the repository at this point in the history
Add PR pipeline
  • Loading branch information
ozgen authored Dec 28, 2023
2 parents 9b6d0c1 + 152e21b commit f6369eb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pull Request Tests

on:
pull_request:
branches: [ main ]

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Run unit tests
run: mvn test

0 comments on commit f6369eb

Please sign in to comment.