fix formula types and add tarantula #656
Workflow file for this run
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, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
java-version: [ 8 , 11 , 16 , 17 ] | |
compiler-version: [ 1.1 , 1.2 , 1.3 , 1.4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 ] | |
os: [ ubuntu-latest , macos-latest , windows-latest ] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
if: ${{ matrix.compiler-version <= matrix.java-version && (matrix.java-version < 14 || matrix.compiler-version >= 7) && (matrix.java-version < 11 || matrix.compiler-version >= 6) }} | |
- name: Setup JDK${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
if: ${{ matrix.compiler-version <= matrix.java-version && (matrix.java-version < 14 || matrix.compiler-version >= 7) && (matrix.java-version < 11 || matrix.compiler-version >= 6) }} | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'temurin' | |
- name: Install example projects | |
run: ./.github/install_examples.sh | |
if: ${{ matrix.compiler-version <= matrix.java-version && (matrix.java-version < 14 || matrix.compiler-version >= 7) && (matrix.java-version < 11 || matrix.compiler-version >= 6) }} | |
shell: bash | |
env: | |
SRC_VERSION: ${{ matrix.compiler-version }} | |
- name: Build and run tests | |
run: mvn --batch-mode clean test | |
if: ${{ matrix.compiler-version <= matrix.java-version && (matrix.java-version < 14 || matrix.compiler-version >= 7) && (matrix.java-version < 11 || matrix.compiler-version >= 6) }} | |
env: | |
SRC_VERSION: ${{ matrix.compiler-version }} | |
- name: Codecov | |
uses: codecov/[email protected] | |
if: ${{ matrix.compiler-version == 8 && matrix.java-version == 8 && matrix.os == 'ubuntu-latest' }} |