From bf999ca78c8f4033c725da98730778ed25c344fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20No=C3=ABl?= Date: Sun, 14 Mar 2021 11:09:06 +0100 Subject: [PATCH] (#83) Run on various Java version + latest codecov-action --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60a14b8b..d0c1124a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,19 +14,19 @@ jobs: # Don't forget to add it to the list of required status checks in the repo's settings. # See errors in the build log: https://github.com/llorllale/cactoos-matchers/runs/1082946792. os: [ubuntu-18.04, macOS-10.15] + java: [8, 11, 15] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - - name: JDK 1.8 + - name: Java ${{ matrix.java }} uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: ${{ matrix.java }} - name: Test - run: mvn clean test + run: mvn clean test --errors --batch-mode - name: CodeCov - uses: codecov/codecov-action@v1.0.13 - if: matrix.os == 'ubuntu-18.04' && github.repository == 'llorllale/cactoos-matchers' - timeout-minutes: 10 + uses: codecov/codecov-action@v1 + if: matrix.os == 'ubuntu-18.04' && matrix.java == 8 && github.repository == 'llorllale/cactoos-matchers' with: file: target/coverage/jacoco.xml