Skip to content

Commit

Permalink
add pull request workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tabilzad committed Aug 16, 2024
1 parent 5c9447c commit ec34804
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: On Pull Request Opened

on:
pull_request:
branches:
- master

jobs:
test:
name: Stability Tests
uses: ./.github/workflows/run-tests.yml
21 changes: 21 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Run Tests

on:
workflow_call:

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Run Tests
run: ./gradlew :create-plugin:test

0 comments on commit ec34804

Please sign in to comment.