diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 22cf4d08df..e70c6e4cd3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,9 +63,17 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.DOTNET_VERSION }} - - - name: Test - if: matrix.os != 'ubuntu-latest' + + - name: Test (MacOS) + if: matrix.os == 'macos-latest' + run: | + brew install leveldb + dotnet build + cp -vp /opt/homebrew/Cellar/leveldb/1.23_1/lib/libleveldb.dylib ./tests/Neo.Plugins.Storage.Tests/bin/Debug/net8.0/ + dotnet test --blame-hang --blame-crash --no-build + + - name: Test (windows) + if: matrix.os == 'windows-latest' run: | dotnet sln neo.sln remove ./tests/Neo.Plugins.Storage.Tests/Neo.Plugins.Storage.Tests.csproj dotnet build