name: Unit Tests macOS Nuget
description: This tests the macOS nugets 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 Native Libs
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 /home/runner/work/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