-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (35 loc) · 952 Bytes
/
test.yml
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
35
36
name: Test
on:
workflow_call:
# will run for every branch, except tags. See RSRMID-206.
push:
# Sequence of patterns matched against refs/heads
branches:
- "**"
# Sequence of patterns matched against refs/tags
tags-ignore:
- "**"
pull_request:
branches:
- "**"
tags-ignore:
- "**"
jobs:
test:
name: 🧪 Testing
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.actor != 'dependabot[bot]')
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [15]
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
architecture: x64 # (x64 or x86) - defaults to x64
- run: |
cd testapiconnector
mvn compile exec:java