Merge pull request #9 from MOEAFramework/moeaframework-4.5 #40
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: Tests | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
workflow_dispatch: | |
inputs: | |
java-distribution: | |
type: choice | |
required: true | |
description: Java distribution | |
options: | |
- 'zulu' | |
- 'temurin' | |
- 'oracle' | |
default: 'zulu' | |
java-version: | |
type: choice | |
required: true | |
description: Java version | |
options: | |
- '17' | |
- '18' | |
- '19' | |
- '20' | |
- '21' | |
- '22' | |
default: '17' | |
jobs: | |
maven-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup build | |
uses: MOEAFramework/.github/actions/setup-build@main | |
with: | |
java-version: ${{ inputs.java-version }} | |
java-distribution: ${{ inputs.java-distribution }} | |
- name: Run tests | |
run: mvn test | |