Add codecov action into workflow

Signed-off-by: John Niang <johnniang@foxmail.com>
pull/5187/head
John Niang 2024-01-15 00:16:48 +08:00
parent 6d49047408
commit c59aed6510
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ jobs:
run: make -C console check
- name: Check Halo core
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: