Merge pull request #11 from NeuroML/development #46
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
# 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 | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ master, development, experimental, osb* ] | |
pull_request: | |
branches: [ master, development, experimental, osb* ] | |
jobs: | |
build_and_test: | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '8', '11', '16', '17', '19' ] | |
runs-on: [ubuntu-latest, macos-latest, windows-latest] | |
name: Test on Java ${{ matrix.Java }} on ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK ${{ matrix.Java }} | |
uses: actions/setup-java@v2 | |
with: | |
java-version: ${{ matrix.Java }} | |
distribution: 'temurin' | |
- name: Test with Maven | |
run: mvn install | |
- name: Further tests | |
run: | | |
pwd | |
mvn dependency:tree |