2020-11-03 11:19:14 +00:00
|
|
|
# This workflow will build a Java project with Maven
|
|
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
|
|
|
|
2021-11-15 07:38:10 +00:00
|
|
|
name: Test
|
2020-11-03 11:19:14 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-11-05 10:36:42 +00:00
|
|
|
branches: [ main ]
|
2020-11-03 11:19:14 +00:00
|
|
|
pull_request:
|
2021-11-05 10:36:42 +00:00
|
|
|
branches: [ main ]
|
2020-11-03 11:19:14 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-11-15 07:38:10 +00:00
|
|
|
name: Verify Keycloak documentation
|
2020-11-03 11:19:14 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
2021-11-12 11:34:19 +00:00
|
|
|
- name: Build
|
|
|
|
run: mvn install -B -DskipTests
|
|
|
|
- name: Test
|
|
|
|
run: mvn test -B -pl tests -Dtest=!ExternalLinksTest
|
2020-11-03 11:19:14 +00:00
|
|
|
build-product:
|
2021-11-15 07:38:10 +00:00
|
|
|
name: Verify product documentation
|
2020-11-03 11:19:14 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
2021-11-12 11:34:19 +00:00
|
|
|
- name: Build
|
2021-11-15 07:58:30 +00:00
|
|
|
run: mvn install -B -Dproduct -DskipTests
|
2021-11-12 11:34:19 +00:00
|
|
|
- name: Test
|
|
|
|
run: mvn test -B -Dproduct -pl tests -Dtest=!ExternalLinksTest
|