-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#83) Run on various Java version + latest codecov-action
- Loading branch information
1 parent
267f3a4
commit bf999ca
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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 | ||
|
||
|