Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 1 addition & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ on:
env:
MAVEN_ARGS: --batch-mode --show-version
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
WITH_COVERAGE: true
WITH_COVERAGE: ${{ github.event_name == 'push' }}

jobs:
check:
Expand Down Expand Up @@ -157,7 +157,6 @@ jobs:
dev-support/checks/${{ inputs.script }}.sh ${{ inputs.script-args }}
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
WITH_COVERAGE: ${{ inputs.with-coverage }}

- name: Summary of failures
if: ${{ failure() }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- unit
runs-on: ubuntu-24.04
timeout-minutes: 30
if: (github.repository == 'apache/ratis' || github.repository == 'apache/incubator-ratis') && github.event_name != 'pull_request'
if: github.event_name != 'pull_request'
steps:
- name: Checkout project
uses: actions/checkout@v4
Expand Down Expand Up @@ -137,6 +137,7 @@ jobs:
- name: Calculate combined coverage
run: ./dev-support/checks/coverage.sh
- name: Upload coverage to Sonar
if: github.repository == 'apache/ratis'
run: ./dev-support/checks/sonar.sh
env:
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
Expand Down
Loading