Skip to content

Commit ec34804

Browse files
committed
add pull request workflow
1 parent 5c9447c commit ec34804

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/on-pull-request.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: On Pull Request Opened
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
test:
10+
name: Stability Tests
11+
uses: ./.github/workflows/run-tests.yml

.github/workflows/run-tests.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Run Tests
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Set up JDK 11
13+
uses: actions/setup-java@v3
14+
with:
15+
java-version: '11'
16+
distribution: 'temurin'
17+
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
18+
settings-path: ${{ github.workspace }} # location for the settings.xml file
19+
20+
- name: Run Tests
21+
run: ./gradlew :create-plugin:test

0 commit comments

Comments
 (0)