forked from DynamoDS/Dynamo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/DynamoDS/Dynamo into auth-s
- Loading branch information
Showing
536 changed files
with
86,776 additions
and
6,767 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Build DynamoAll.sln with .NET 8.0 | ||
name: Build DynamoAll.sln net8.0 | ||
|
||
on: [push,pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout Dynamo Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
path: Dynamo | ||
repository: DynamoDS/Dynamo | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '8.0.x' | ||
- name: Disable problem matcher | ||
run: echo "::remove-matcher owner=csc::" | ||
|
||
- name: Install dependencies for windows runtime | ||
run: | | ||
dotnet restore $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 -p:DotNet=net8.0 | ||
- name: Build Dynamo with MSBuild for Windows | ||
run: | | ||
echo "***Continue with the build, Good luck developer!***" | ||
cd "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\" | ||
.\MSBuild.exe $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /p:Configuration=Release /p:DotNet=net8.0 | ||
# look for Dynamo | ||
- name: Navigate to Dynamo Windows Folder | ||
run: | | ||
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@v3 | ||
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: $PR_NUMBER | Out-File -FilePath pr_number.txt | ||
- name: Upload Pull Request Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: pr_number | ||
path: ${{ github.workspace }}\pr_number.txt | ||
if-no-files-found: warn | ||
retention-days: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: UI Smoke Tests | ||
|
||
on: | ||
workflow_run: | ||
workflows: | ||
- Build DynamoAll.sln net6.0 | ||
- Build DynamoAll.sln net8.0 | ||
types: | ||
- completed | ||
|
||
env: | ||
TEST_EXECUTE_DOWNLOAD_URL: https://downloads.smartbear.com/TestExecute1552SLM.exe | ||
ACTOR: ${{ github.actor }} | ||
WORKFLOW_ID: ${{ github.event.workflow_run.workflow_id }} | ||
RUN_ID: ${{ github.event.workflow_run.id }} | ||
RUN_NAME: ${{ github.event.workflow_run.name }} | ||
RUN_URL: ${{ github.event.workflow_run.html_url }} | ||
|
||
jobs: | ||
ui_smoke_tests: | ||
name: UI Smoke Tests | ||
timeout-minutes: 60 | ||
runs-on: windows-latest | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: DynamoDS/DynamoTestCompleteTests | ||
token: ${{ secrets.DYNAMO_TESTS_TOKEN }} | ||
ref: master | ||
- name: Download TestExecute | ||
run: Invoke-WebRequest -Uri "${{ env.TEST_EXECUTE_DOWNLOAD_URL }}" -OutFile ".\TE.exe" | ||
- name: Install TestExecute | ||
shell: cmd | ||
run: .\TE.exe -SilentInstall | ||
- name: Download Build Artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
name: DynamoSandbox | ||
workflow: ${{ env.WORKFLOW_ID }} | ||
run_id: ${{ env.RUN_ID }} | ||
path: ${{ github.workspace }}\build | ||
- name: Download Pull Request Artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
name: pr_number | ||
workflow: ${{ env.WORKFLOW_ID }} | ||
run_id: ${{ env.RUN_ID }} | ||
path: ${{ github.workspace }}\pr | ||
- name: Run UI Smoke Tests | ||
shell: cmd | ||
run: .github\scripts\run_tests.bat ${{ secrets.TEST_EXECUTE_ACCESS_KEY }} Dynamo\Dynamo.pjs DynamoSandbox SmokeTests | ||
- name: UI Smoke Tests Report | ||
uses: dorny/[email protected] | ||
if: always() | ||
with: | ||
name: UI Smoke Test Report | ||
path: reports/report.xml | ||
reporter: java-junit | ||
- name: Read Pull Request Number | ||
id: read_pr_number | ||
run: | | ||
"pr_number=$(Get-Content ${{ github.workspace }}\pr\pr_number.txt)" | Out-File -FilePath $env:GITHUB_OUTPUT -Append | ||
- name: Summary | ||
env: | ||
PR_NUMBER: ${{ steps.read_pr_number.outputs.pr_number }} | ||
PR_URL: ${{ format('{0}/{1}/pull', github.server_url, github.repository) }} | ||
if: always() | ||
run: | | ||
Get-Content summary.md | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append | ||
"Actor: @$env:ACTOR" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append | ||
"Workflow Run: [$env:RUN_NAME]($env:RUN_URL)" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append | ||
"Pull Request: [$env:PR_NUMBER]($env:PR_URL/$env:PR_NUMBER)" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<!-- | ||
SolutionDir is mostly useful for running the dotnet list package command | ||
Ex. of generating report of all transitive nuget dependencies in powershell: | ||
(dotnet list $pwd\Dynamo.All.sln package - -include-transitive | ||
Ex. of generating report of unique transitive nuget dependencies in powershell: | ||
(dotnet list $pwd\Dynamo.All.sln package - -include-transitive) -match '^.*>' -replace '^ +> ','' -replace '\s+', ' ' | % { $_.Trim() } | % { [string]::Format("{0} {1}",$_.split(" ")[0],$_.split(" ")[1])} | Sort-Object -Unique | ||
Note: The - -include-transitive should have a double dash without a space in between. --> | ||
<SolutionDir>$(MSBuildThisFileDirectory)src\</SolutionDir> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.