diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9351a69c90..cc5d4e5302 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,14 +42,14 @@ jobs: - name: Install dependencies run: | - sudo apt-get install libleveldb-dev expect + sudo apt-get --assume-yes install libleveldb-dev librocksdb-dev expect find ./out -name 'config.json' | xargs perl -pi -e 's|LevelDBStore|MemoryStore|g' - name: Run tests with expect - run: expect ./.github/workflows/test-neo-cli.expect + run: expect ./src/Neo.CLI/Scripts/test-neo-cli.expect Test: - needs: [Format] + needs: [Format, Build-Test-Neo-Cli] timeout-minutes: 15 strategy: matrix: @@ -70,8 +70,6 @@ jobs: - name: Test for coverall if: matrix.os == 'ubuntu-latest' run: | - sudo apt-get --assume-yes install libleveldb-dev librocksdb-dev - dotnet test ./tests/Neo.Cryptography.BLS12_381.Tests --output ./bin/tests/Neo.Cryptography.BLS12_381.Tests dotnet test ./tests/Neo.ConsoleService.Tests --output ./bin/tests/Neo.ConsoleService.Tests dotnet test ./tests/Neo.UnitTests --output ./bin/tests/Neo.UnitTests diff --git a/.github/workflows/test-neo-cli.expect b/src/Neo.CLI/Scripts/test-neo-cli.expect similarity index 100% rename from .github/workflows/test-neo-cli.expect rename to src/Neo.CLI/Scripts/test-neo-cli.expect