Skip to content

Commit

Permalink
Update metrics workflow fails after SAVE has been integrated (#1463)
Browse files Browse the repository at this point in the history
### What's done:
* updated metrics
Closes #1461
  • Loading branch information
Cheshiriks authored Jul 20, 2022
1 parent 7177afb commit a67811d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/metrics_for_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a67811d

Please sign in to comment.