mirror of
https://github.com/cmderdev/cmder.git
synced 2025-12-14 17:58:55 +08:00
Add success conditionals to test summary steps
Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -60,6 +60,7 @@ jobs:
|
|||||||
run: .\build.ps1 -verbose
|
run: .\build.ps1 -verbose
|
||||||
|
|
||||||
- name: Summary - Vendor initialization
|
- name: Summary - Vendor initialization
|
||||||
|
if: success()
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
echo "### ⚙️ Vendor Initialization" >> $env:GITHUB_STEP_SUMMARY
|
echo "### ⚙️ Vendor Initialization" >> $env:GITHUB_STEP_SUMMARY
|
||||||
@@ -75,6 +76,7 @@ jobs:
|
|||||||
cmd /c vendor\init.bat /v /d /t
|
cmd /c vendor\init.bat /v /d /t
|
||||||
|
|
||||||
- name: Summary - Clink Shell test
|
- name: Summary - Clink Shell test
|
||||||
|
if: success()
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
echo "| Clink Shell | ✅ Passed |" >> $env:GITHUB_STEP_SUMMARY
|
echo "| Clink Shell | ✅ Passed |" >> $env:GITHUB_STEP_SUMMARY
|
||||||
@@ -83,6 +85,7 @@ jobs:
|
|||||||
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "$env:CMDER_DEBUG='1'; . 'vendor\profile.ps1'"
|
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "$env:CMDER_DEBUG='1'; . 'vendor\profile.ps1'"
|
||||||
|
|
||||||
- name: Summary - PowerShell test
|
- name: Summary - PowerShell test
|
||||||
|
if: success()
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
echo "| PowerShell | ✅ Passed |" >> $env:GITHUB_STEP_SUMMARY
|
echo "| PowerShell | ✅ Passed |" >> $env:GITHUB_STEP_SUMMARY
|
||||||
@@ -91,6 +94,7 @@ jobs:
|
|||||||
bash vendor/cmder.sh
|
bash vendor/cmder.sh
|
||||||
|
|
||||||
- name: Summary - Bash test
|
- name: Summary - Bash test
|
||||||
|
if: success()
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
echo "| Bash | ✅ Passed |" >> $env:GITHUB_STEP_SUMMARY
|
echo "| Bash | ✅ Passed |" >> $env:GITHUB_STEP_SUMMARY
|
||||||
|
|||||||
Reference in New Issue
Block a user