chore: allow codecov to detect SHA (#28278)

This commit is contained in:
Maxime Beauchemin
2024-04-30 15:32:33 -07:00
committed by Michael S. Molina
parent 5de4862af0
commit 4d3e60dabc
6 changed files with 35 additions and 1940 deletions

View File

@@ -64,6 +64,8 @@ jobs:
run: |
pytest --durations-min=0.5 --cov-report= --cov=superset ./tests/common ./tests/unit_tests --cache-clear
- name: Upload code coverage
if: steps.check.outcome == 'failure'
run: |
bash .github/workflows/codecov.sh -c -F python -F unit
uses: codecov/codecov-action@v4
with:
flags: python,unit
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true