mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-03-21 10:16:34 +08:00
update with token
This commit is contained in:
parent
2b343c9a0d
commit
0ba26d35f1
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -16,6 +16,7 @@ jobs:
|
|||||||
name: Run Backend unit tests
|
name: Run Backend unit tests
|
||||||
permissions:
|
permissions:
|
||||||
checks: write
|
checks: write
|
||||||
|
secrets: inherit # Inherit secrets from the parent workflow
|
||||||
# Call the reusable workflow for unit tests
|
# Call the reusable workflow for unit tests
|
||||||
uses: ./.github/workflows/template_unit_pytest.yml
|
uses: ./.github/workflows/template_unit_pytest.yml
|
||||||
# Pass parameters as inputs to the reusable workflow
|
# Pass parameters as inputs to the reusable workflow
|
||||||
|
|||||||
8
.github/workflows/template_unit_pytest.yml
vendored
8
.github/workflows/template_unit_pytest.yml
vendored
@ -87,4 +87,10 @@ jobs:
|
|||||||
uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ${{ env.TESTS_COVERAGE_REPORT_PATH }}
|
files: ${{ env.TESTS_COVERAGE_REPORT_PATH }}
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
flags: unittests
|
||||||
|
name: codecov-coverage
|
||||||
|
verbose: true
|
||||||
|
env:
|
||||||
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user