Skip to content

Commit

Permalink
[Fix] Enable Storage tests for (MacOS) (#3568)
Browse files Browse the repository at this point in the history
* Fixed Tests

* fixed Paths

* Update for all branches

* Changed OS to MACOS

* Fixed environment path

* Fixed Copy of the leveldb file

* Fixed load order

* Fixed file paths for libleveldb

* sfas

* dsg

* fixed

* Uncommented code

---------

Co-authored-by: Shargon <[email protected]>
  • Loading branch information
cschuchardt88 and shargon authored Nov 8, 2024
1 parent 64e13bb commit 6ad3d16
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ad3d16

Please sign in to comment.