forked from Imagelibrary/threadx
Test uploading code coverage as artifact
This commit is contained in:
14
.github/workflows/regression_template.yml
vendored
14
.github/workflows/regression_template.yml
vendored
@@ -118,15 +118,21 @@ jobs:
|
||||
${{ inputs.cmake_path }}/coverage_report/default_build_coverage${{ inputs.deploy_url_affix }}
|
||||
fi
|
||||
|
||||
- name: Upload GitHub Pages artifact
|
||||
uses: actions/upload-pages-artifact@v2.0.0
|
||||
# - name: Upload GitHub Pages artifact
|
||||
# uses: actions/upload-pages-artifact@v2.0.0
|
||||
# with:
|
||||
# path: ${{ inputs.cmake_path }}/coverage_report
|
||||
# name: coverage_report${{ inputs.deploy_url_affix }}
|
||||
|
||||
- name: Upload Code Coverage
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
with:
|
||||
name: coverage_report
|
||||
path: ${{ inputs.cmake_path }}/coverage_report
|
||||
name: coverage_report${{ inputs.deploy_url_affix }}
|
||||
|
||||
deploy_code_coverage:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'push'
|
||||
if: github.event_name == 'push' && false
|
||||
needs: run_tests
|
||||
environment:
|
||||
name: github-pages
|
||||
|
||||
Reference in New Issue
Block a user