Schedule All Modules #887
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: Schedule All Modules | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
module: | |
- test-configuration-batch | |
- test-configuration-datasource | |
- test-configuration-deploymentscanner | |
- test-configuration-distributableweb | |
- test-configuration-ee | |
- test-configuration-iiop | |
- test-configuration-infinispan | |
- test-configuration-interface | |
- test-configuration-io | |
- test-configuration-jca | |
- test-configuration-jgroups | |
- test-configuration-jmx | |
- test-configuration-jpa | |
- test-configuration-jsf | |
- test-configuration-logging | |
- test-configuration-mail | |
- test-configuration-messaging | |
- test-configuration-modcluster | |
- test-configuration-path | |
- test-configuration-remoting | |
- test-configuration-resourceadapter | |
- test-configuration-socketbinding | |
- test-configuration-systemproperty | |
- test-configuration-transaction | |
- test-configuration-web | |
- test-configuration-webservice | |
- test-runtime-server | |
runs-on: ubuntu-latest | |
env: | |
MVN: ./mvnw --show-version --batch-mode | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
id: setup-jdk | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
- name: Install | |
id: install | |
run: $MVN install | |
- name: Run Tests (Stable) | |
id: run-tests-stable | |
run: $MVN --projects ${{ matrix.module }} --also-make -P all-tests test -Dhal.image=quay.io/halconsole/hal -Dsurefire.failIfNoSpecifiedTests=false | |
- name: Run Tests (Development) | |
id: run-tests-development | |
run: $MVN --projects ${{ matrix.module }} --also-make -P all-tests test -Dhal.image=quay.io/halconsole/hal-development -Dsurefire.failIfNoSpecifiedTests=false |