Skip to content

Commit

Permalink
(#83) Run on various Java version + latest codecov-action
Browse files Browse the repository at this point in the history
  • Loading branch information
victornoel committed Mar 14, 2021
1 parent 267f3a4 commit bf999ca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bf999ca

Please sign in to comment.