fix: expose helper functions at module level for test patching
- Move get_all_settings_from_db import to module level in app/views/settings.py - Move get_provider_status and get_settings_for_display imports to module level in app/views/status.py - Fix CI workflow: replace deprecated 'file' parameter with 'files' in codecov-action - Fix CI workflow: update test results upload to use codecov-action@v5 with report_type instead of deprecated test-results-action@v1 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -99,14 +99,17 @@ jobs:
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
file: ./coverage.xml
|
||||
files: ./coverage.xml
|
||||
fail_ci_if_error: false
|
||||
|
||||
- name: Upload test results to Codecov
|
||||
if: ${{ !cancelled() }}
|
||||
uses: codecov/test-results-action@v1
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: ./junit.xml
|
||||
report_type: test_results
|
||||
fail_ci_if_error: false
|
||||
|
||||
- name: Upload test artifacts
|
||||
if: ${{ !cancelled() }}
|
||||
|
||||
Reference in New Issue
Block a user