Skip to content

Commit

Permalink
Update smoke test workflow (#14784)
Browse files Browse the repository at this point in the history
  • Loading branch information
avidit authored Dec 19, 2023
1 parent 372bf97 commit a08b520
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 28 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/build_dynamo_all_net6.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,3 @@ jobs:
cd "$Env:GITHUB_WORKSPACE\Dynamo\bin\AnyCPU\Release"
echo "***Locating DynamoCLI for Windows!***"
test ".\DynamoCLI.exe" && echo "DynamoCLI exists!"
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: DynamoSandbox
path: ${{ github.workspace }}\Dynamo\bin\AnyCPU\Release
if-no-files-found: warn
retention-days: 3
- name: Save Pull Request Number
env:
PR_NUMBER: ${{ github.event.number }}
run: $env:PR_NUMBER | Out-File -FilePath pr_number.txt
- name: Upload Pull Request Artifact
uses: actions/upload-artifact@v4
with:
name: pr_number
path: ${{ github.workspace }}\pr_number.txt
if-no-files-found: warn
retention-days: 3
10 changes: 6 additions & 4 deletions .github/workflows/build_dynamo_all_net8.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,16 @@ jobs:
path: ${{ github.workspace }}\Dynamo\bin\AnyCPU\Release
if-no-files-found: warn
retention-days: 3
- name: Save Pull Request Number
- name: Save Pull Request Artifact
env:
PR_NUMBER: ${{ github.event.number }}
run: $env:PR_NUMBER | Out-File -FilePath pr_number.txt
run: |
New-Item -Path ${{ github.workspace }}\pr -ItemType Directory -Force
$env:PR_NUMBER | Out-File -FilePath pr\pr_number.txt
- name: Upload Pull Request Artifact
uses: actions/upload-artifact@v4
with:
name: pr_number
path: ${{ github.workspace }}\pr_number.txt
name: pr_data
path: ${{ github.workspace }}\pr
if-no-files-found: warn
retention-days: 3
4 changes: 2 additions & 2 deletions .github/workflows/generate_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
base-ref: ${{ github.event.inputs.base-ref }}
- name: Summary
run: |
echo '# Changelog' >> $GITHUB_STEP_SUMMARY
echo '${{ steps.generate_changelog.outputs.changelog }}' >> $GITHUB_STEP_SUMMARY
echo "# Changelog" >> $GITHUB_STEP_SUMMARY
echo "${{ steps.generate_changelog.outputs.changelog }}" >> $GITHUB_STEP_SUMMARY
5 changes: 2 additions & 3 deletions .github/workflows/ui_smoke_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: UI Smoke Tests
on:
workflow_run:
workflows:
- Build DynamoAll.sln net6.0
- Build DynamoAll.sln net8.0
types:
- completed
Expand Down Expand Up @@ -43,7 +42,7 @@ jobs:
- name: Download Pull Request Artifact
uses: dawidd6/action-download-artifact@v3
with:
name: pr_number
name: pr_data
workflow: ${{ env.WORKFLOW_RUN_WORKFLOW_ID }}
run_id: ${{ env.WORKFLOW_RUN_ID }}
path: ${{ github.workspace }}\pr
Expand All @@ -53,7 +52,7 @@ jobs:
"CHECK_NAME=$("UI Smoke Tests", $($env:WORKFLOW_RUN_NAME -Split " ")[-1] -Join " - ")" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Run UI Smoke Tests
shell: cmd
run: .github\scripts\run_tests.bat ${{ secrets.TEST_EXECUTE_ACCESS_KEY }} Dynamo\Dynamo.pjs DynamoSandbox SmokeTests
run: .\utils\run_tests.bat ${{ secrets.TEST_EXECUTE_ACCESS_KEY }} Dynamo\Dynamo.pjs DynamoSandbox SmokeTests ${{ github.workspace }}\build
- name: Publish Test Report
id: test_report
if: always()
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

[![Build DynamoAll.sln net6.0](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_all_net6.0.yml/badge.svg)](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_all_net6.0.yml)
[![Build DynamoAll.sln net8.0](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_all_net8.0.yml/badge.svg)](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_all_net8.0.yml)
[![Build DynamoCore.sln net6.0](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_core_net6.0.yml/badge.svg)](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_core_net6.0.yml)
[![Build DynamoCore.sln net6.0 windows](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_core_net6.0_windows.yml/badge.svg)](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_core_net6.0_windows.yml)
[![Build DynamoCore.sln net6.0 linux](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_core_net6.0_linux.yml/badge.svg)](https://github.com/DynamoDS/Dynamo/actions/workflows/build_dynamo_core_net6.0_linux.yml)

[![DynamoCoreRuntime](https://img.shields.io/github/v/release/DynamoDS/Dynamo?logo=github&label=DynamoCoreRuntime)](https://github.com/DynamoDS/Dynamo/releases/latest)
[![Nuget](https://img.shields.io/nuget/v/DynamoVisualProgramming.Core?logo=nuget)](https://www.nuget.org/packages/DynamoVisualProgramming.Core)

<picture>
Expand Down

0 comments on commit a08b520

Please sign in to comment.