Skip to content

Commit 57e442e

Browse files
authored
adds test workflow (#388)
Setup CI workflow to test PR changes.
1 parent 62cba84 commit 57e442e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
types: ['opened', 'synchronize']
6+
7+
jobs:
8+
ci:
9+
name: ci
10+
strategy:
11+
matrix:
12+
version: ['11.0.13']
13+
dist: ['microsoft']
14+
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: checkout code
18+
uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
21+
- name: set up JDK ${{matrix.version}} (${{matrix.dist}})
22+
uses: actions/setup-java@v3
23+
with:
24+
java-version: ${{ matrix.version }}
25+
distribution: ${{ matrix.dist }}
26+
- name: test
27+
run: ./gradlew --info test --no-daemon

0 commit comments

Comments
 (0)