You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by el...@apache.org on 2020/06/03 11:55:58 UTC

[hadoop-ozone] 01/01: move sonar check to the coverage phase

This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch HDDS-3710
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git

commit e4cd902b854fa5fbb9f1a8314db224d180db2735
Author: Elek Márton <el...@apache.org>
AuthorDate: Wed Jun 3 13:54:48 2020 +0200

    move sonar check to the coverage phase
---
 .github/workflows/post-commit.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index 14c2c1d..fc2dda1 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -58,13 +58,6 @@ jobs:
         - uses: ./.github/buildenv
           with:
              args: ./hadoop-ozone/dev-support/checks/unit.sh
-        - uses: ./.github/buildenv
-          if: github.repository == 'apache/hadoop-ozone'
-          with:
-            args: ./hadoop-ozone/dev-support/checks/sonar.sh
-          env:
-            SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
-            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         - uses: actions/upload-artifact@master
           if: always()
           with:
@@ -247,6 +240,13 @@ jobs:
          with:
             path: target/artifacts
        - run: ./.github/coverage-report.sh
+       - uses: ./.github/buildenv
+         if: github.repository == 'apache/hadoop-ozone'
+         with:
+           args: ./hadoop-ozone/dev-support/checks/sonar.sh
+         env:
+           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
+           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        - uses: actions/upload-artifact@master
          with:
            name: coverage


---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org