name: Unit Tests Windows Nuget
description: This tests the windows nuget package.
runs:
using: composite
steps:
- name: Download Config
uses: actions/download-artifact@v4
with:
name: config.txt
path: ./wrappers/csharp
- uses: actions/setup-python@v5
with:
python-version: "3.7"
- name: Download Nugets
uses: actions/download-artifact@v4
with:
pattern: nugets-*
merge-multiple: true
path: ./wrappers/csharp/tests/unit-tests/nugets/Nugets
- name: Add local nuget source
shell: bash
run: |
dotnet nuget add source "D:\a\devolutions-crypto\devolutions-crypto\wrappers\csharp\tests\unit-tests\nugets\Nugets" -n LocalPackages
dotnet nuget list source
- name: Unit tests
working-directory: ./wrappers/csharp/tests/unit-tests/nugets
shell: bash
run: dotnet test ./dotnet-core/dotnet-core.csproj