forked from graphql-java/graphql-java
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 855 Bytes
/
pull_request.yml
File metadata and controls
35 lines (34 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Pull Request Build
# For pull requests: builds and test
on:
push:
branches:
- '!master'
pull_request:
branches:
- master
- 22.x
- 21.x
- 20.x
- 19.x
permissions: # For test comment bot
checks: write
pull-requests: write
jobs:
buildAndTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v3
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'corretto'
- name: build and test
run: ./gradlew assemble && ./gradlew check --info --stacktrace
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2.18.0
if: always()
with:
files: '**/build/test-results/test/TEST-*.xml'