Skip to content

Commit

Permalink
Merge pull request #5282 from JohnNiang/chore/remove-sonar-scaning
Browse files Browse the repository at this point in the history
Remove analyzing code step in test job
  • Loading branch information
JohnNiang authored Jan 30, 2024
2 parents c792cef + b4bf425 commit e8c6189
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/halo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ jobs:
run: ./gradlew check
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
- name: Analyze code
if: ${{ github.event_name == 'push' && env.SONAR_TOKEN != '' }} # Due to inability to access secrets during PR, only the code pushed into the branch can be analyzed.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew sonar --info

build:
runs-on: ubuntu-latest
if: always() && (needs.test.result == 'skipped' || needs.test.result == 'success')
Expand Down

0 comments on commit e8c6189

Please sign in to comment.