From a67811df0a6dcb27e047fdd35f09ae4478fc0a41 Mon Sep 17 00:00:00 2001 From: Vladislav Frolov <50615459+Cheshiriks@users.noreply.github.com> Date: Wed, 20 Jul 2022 11:51:24 +0300 Subject: [PATCH] `Update metrics` workflow fails after SAVE has been integrated (#1463) ### What's done: * updated metrics Closes #1461 --- .github/workflows/build_and_test.yml | 6 +++--- .github/workflows/metrics_for_master.yml | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 330224f782..939765f846 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -26,7 +26,7 @@ jobs: - name: Maven Install run: mvn -B clean install -DskipTests - name: Maven run test - run: mvn test + run: mvn verify - name: Code coverage report uses: codecov/codecov-action@v3 with: @@ -158,7 +158,7 @@ jobs: - name: Maven run test if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }} run: | - mvn test + mvn verify shell: bash - name: Maven Install on windows @@ -170,7 +170,7 @@ jobs: - name: Maven run test if: runner.os == 'Windows' run: | - mvn test + mvn verify shell: cmd # This step needs a Git repository, so it's impossible to extract it diff --git a/.github/workflows/metrics_for_master.yml b/.github/workflows/metrics_for_master.yml index f31fbeacab..155cb76d7c 100644 --- a/.github/workflows/metrics_for_master.yml +++ b/.github/workflows/metrics_for_master.yml @@ -28,9 +28,11 @@ jobs: key: maven-build-${{ hashFiles('**/pom.xml') }} restore-keys: | maven-build- - - name: Run tests + - name: Maven Install # we need to run `install` goal here so that gradle will be able to resolve dependencies and run tests on diktat-gradle-plugin - run: mvn -B install -DskipPluginMarker + run: mvn -B install -DskipPluginMarker -DskipTests + - name: Run tests + run: mvn verify - name: Generate code coverage report uses: codecov/codecov-action@v3 with: