Skip to content

chore(deps): update codecov/codecov-action action to v3.1.6 #662

chore(deps): update codecov/codecov-action action to v3.1.6

chore(deps): update codecov/codecov-action action to v3.1.6 #662

Workflow file for this run

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' }}