ci(dependabot): reviewed config #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |