Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/post-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,14 @@ jobs:
path: target/artifacts
- name: Calculate combined coverage
run: ./hadoop-ozone/dev-support/checks/coverage.sh
- name: Upload coverage to Sonar
uses: ./.github/buildenv
- name: Setup java 11
uses: actions/setup-java@v1
if: github.repository == 'apache/ozone' && github.event_name != 'pull_request'
with:
args: ./hadoop-ozone/dev-support/checks/sonar.sh
java-version: 11
- name: Upload coverage to Sonar
run: ./hadoop-ozone/dev-support/checks/sonar.sh
if: github.repository == 'apache/ozone' && github.event_name != 'pull_request'
env:
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down