Skip to content

Commit

Permalink
move dotnet test to separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
fraguada committed Jul 9, 2024
1 parent a6484a4 commit b5d8903
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions .github/workflows/workflow_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ jobs:
pack_dotnet:
name: pack dotnet
needs: [build_dotnet_os, build_dotnet_arm64]
runs-on: ubuntu-latest
runs-on: windows-2022
steps:
- name: set up python
uses: actions/[email protected]
Expand Down Expand Up @@ -357,15 +357,6 @@ jobs:
run: "ls -R src/build/"
- name: pack dotnet
run: dotnet pack src/dotnet/Rhino3dm.csproj
- name: test dotnet
run: |
dotnet nuget add source $(pwd)/src/dotnet/bin/Release/
cd tests/dotnet/rhino3dm_test
dotnet remove package Rhino3dm
dotnet nuget locals all --clear
dotnet add package Rhino3dm
dotnet build
dotnet test
- name: artifacts nupkg
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -396,6 +387,30 @@ jobs:
npm i
npm test
test_dotnet:
name: test javascript
runs-on: ubuntu-latest
needs: [pack_dotnet]
steps:
- name: checkout
uses: actions/[email protected]
- name: download rhino3dm.net nuget
uses: actions/[email protected]
with:
name: rhino3dm.net nupkg
path: tests/dotnet/lib
- name: test dotnet
run: |
dotnet nuget add source $(pwd)/tests/dotnet/lib
cd tests/dotnet/rhino3dm_test
dotnet remove package Rhino3dm
dotnet nuget locals all --clear
dotnet add package Rhino3dm
dotnet build
dotnet test
# pack_py:
# name: pack python
# needs: [build_py_manylinux2014, build_py_sdist, build_py_all_bdist]
Expand Down

0 comments on commit b5d8903

Please sign in to comment.