mirror of https://github.com/halo-dev/halo
Remove analyzing code step in test job
Because we have enabled Automatic Analysis Signed-off-by: John Niang <johnniang@foxmail.com>pull/5282/head
parent
c792cef52f
commit
b4bf425a09
|
@ -33,12 +33,7 @@ jobs:
|
||||||
run: ./gradlew check
|
run: ./gradlew check
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: always() && (needs.test.result == 'skipped' || needs.test.result == 'success')
|
if: always() && (needs.test.result == 'skipped' || needs.test.result == 'success')
|
||||||
|
|
Loading…
Reference in New Issue