Merge pull request #5187 from JohnNiang/bug/codecov-upload

Add codecov action into workflow
pull/5177/head
John Niang 2024-01-15 11:15:41 +08:00 committed by GitHub
commit b050e29e76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ jobs:
run: make -C console check run: make -C console check
- name: Check Halo core - name: Check Halo core
run: ./gradlew check run: ./gradlew check
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
- name: Analyze code - 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. 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: env: