From 6b7c8fd6c3fe4983a7170a1034cee73c2427fa7f Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Fri, 28 Oct 2022 21:50:53 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 454faebe..ffac1f28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,12 +67,22 @@ jobs: run: echo y | mvn clean install -Dskip.gpg=true -Dspotless.apply.skip=true -Dmaven.javadoc.skip=true -Djacoco.skip=true test-coverage: + if: github.repository == 'opengoofy/hippo4j' name: Test coverage report runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Cache Maven Repos uses: actions/cache@v3 + with: + path: ~/.m2/repository + key: hippo4j-maven-third-party-${{ hashFiles('**/pom.xml') }} + restore-keys: | + hippo4j-maven-third-party- + - uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: 8 - name: Test with Maven run: echo y | mvn -T1C clean install -Dskip.gpg=true -Djacoco.skip=false - name: Upload to Codecov