Add affix to titles of steps
This commit is contained in:
7
.github/workflows/regression_template.yml
vendored
7
.github/workflows/regression_template.yml
vendored
@@ -25,6 +25,10 @@ on:
|
|||||||
default: ''
|
default: ''
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
result_affix:
|
||||||
|
default: ''
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
@@ -59,6 +63,7 @@ jobs:
|
|||||||
uses: EnricoMi/publish-unit-test-result-action@v2.11.0
|
uses: EnricoMi/publish-unit-test-result-action@v2.11.0
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
|
check_name: Test Results ${{ inputs.result_affix }}
|
||||||
files: |
|
files: |
|
||||||
${{ inputs.cmake_path }}/build/*/*.xml
|
${{ inputs.cmake_path }}/build/*/*.xml
|
||||||
|
|
||||||
@@ -90,7 +95,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Write Code Coverage Summary
|
- name: Write Code Coverage Summary
|
||||||
run: |
|
run: |
|
||||||
echo "## Coverage Report" >> $GITHUB_STEP_SUMMARY
|
echo "## Coverage Report ${{ inputs.result_affix }}" >> $GITHUB_STEP_SUMMARY
|
||||||
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
|
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- name: Create CheckRun for Code Coverage
|
- name: Create CheckRun for Code Coverage
|
||||||
|
|||||||
4
.github/workflows/regression_test.yml
vendored
4
.github/workflows/regression_test.yml
vendored
@@ -18,10 +18,12 @@ jobs:
|
|||||||
test_script: ./scripts/test_tx.sh
|
test_script: ./scripts/test_tx.sh
|
||||||
cmake_path: ./test/tx/cmake
|
cmake_path: ./test/tx/cmake
|
||||||
deploy_url_affix: tx/
|
deploy_url_affix: tx/
|
||||||
|
result_affix: ThreadX
|
||||||
tx_smp:
|
tx_smp:
|
||||||
uses: ./.github/workflows/regression_template.yml
|
uses: ./.github/workflows/regression_template.yml
|
||||||
with:
|
with:
|
||||||
build_script: ./scripts/build_smp.sh
|
build_script: ./scripts/build_smp.sh
|
||||||
test_script: ./scripts/test_smp.sh
|
test_script: ./scripts/test_smp.sh
|
||||||
cmake_path: ./test/smp/cmake
|
cmake_path: ./test/smp/cmake
|
||||||
deploy_url_affix: smp/
|
deploy_url_affix: smp/
|
||||||
|
result_affix: SMP
|
||||||
Reference in New Issue
Block a user