From 27270ebd17b75d5e0498b6036ceaa733cde5c21c Mon Sep 17 00:00:00 2001 From: jeffbanks Date: Tue, 17 Jan 2023 13:54:16 -0600 Subject: [PATCH 1/2] Order of activities to solve coverage report --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca8eeaed1..fcc0fe0d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,33 +25,33 @@ jobs: key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - - name: mvn verify - run: mvn verify - - name: Installing dependencies run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V + - name: Verifying + run: mvn verify + - name: Running tests run: mvn -B test - name: Collecting reports run: tar -cvf codecov-report.tar target/coverage-report/**/* - - name: Uploading [nosqlbench] test coverage + - name: Uploading test coverage uses: actions/upload-artifact@v3 with: name: codecov-report path: codecov-report.tar - - name: Collecting [nosqlbench] logfiles + - name: Collecting logfiles if: success() || failure() run: tar -cvf logfiles.tar [a-zA-Z]**/logs/* - - name: Uploading test result log files + - name: Uploading log files if: success() || failure() uses: actions/upload-artifact@v3 with: - name: test-results + name: nb-logs path: logfiles.tar - name: export docs From 5d128fcfa2e55cf2ac29953acb71e8e3b805267a Mon Sep 17 00:00:00 2001 From: jeffbanks Date: Thu, 19 Jan 2023 10:42:38 -0600 Subject: [PATCH 2/2] Removed redundant step part of install activity --- .github/workflows/build.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fcc0fe0d2..e0a947c0e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,9 +28,6 @@ jobs: - name: Installing dependencies run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V - - name: Verifying - run: mvn verify - - name: Running tests run: mvn -B test