Skip to content

Commit

Permalink
Merge branch 'testing-dotnet-sonarscanner' of https://github.com/Alex…
Browse files Browse the repository at this point in the history
…isErazoGlobant/DSIronPython3 into testing-dotnet-sonarscanner
  • Loading branch information
Alexis Erazo committed Jun 5, 2024
2 parents 535ead5 + 39f7f08 commit e4f0817
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ jobs:
} else {
Write-Error "python node dll was not found!"
}
- name: Get DynamoRuntime from s3
run: |
curl -o DynamoRuntime.zip https://dyn-builds-data.s3-us-west-2.amazonaws.com/DynamoCoreRuntime3.0.2.zip
ls
- name: Extract DynamoRuntime
run: |
7z x DynamoRuntime.zip -o${{ github.workspace }}\DSIronPython3\IronPython3Tests\bin\Release\net8.0\DynamoRuntime
- name: Run test with the dotnet CLI
run: |
dotnet test ${{ github.workspace }}\DSIronPython3 -p:Configuration=Release --filter "TestCategory!=Failure" --logger "trx;LogFileName=results.trx" --results-directory ${{ github.workspace }}\DSIronPython3\TestResults
Expand Down
6 changes: 5 additions & 1 deletion IronPython3Tests/IronPython3Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<ItemGroup>
<PackageReference Include="DynamoVisualProgramming.Tests" Version="3.1.0-beta3874" />
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="JunitXml.TestLogger" Version="3.0.124" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
</ItemGroup>

Expand All @@ -24,5 +25,8 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<Target Name="DownloadDynamoAndUnzip" BeforeTargets="Build">
<DownloadFile SourceUrl="https://dyn-builds-data.s3-us-west-2.amazonaws.com/DynamoCoreRuntime_3.1.0.3952_20240131T0007.zip" DestinationFolder="$(MSBuildProjectDirectory)" />
<Unzip SourceFiles="DynamoCoreRuntime_3.1.0.3952_20240131T0007.zip" DestinationFolder="$(OutputPath)\DynamoRuntime" OverwriteReadOnlyFiles="true" />
</Target>
</Project>

0 comments on commit e4f0817

Please sign in to comment.