diff --git a/.github/workflows/run-nethermind-tests.yml b/.github/workflows/run-nethermind-tests.yml index 081ecb406bc..e5a78cf146b 100644 --- a/.github/workflows/run-nethermind-tests.yml +++ b/.github/workflows/run-nethermind-tests.yml @@ -1,11 +1,12 @@ name: '[RUN] Nethermind/Ethereum Tests' concurrency: - group: ${{ github.ref }} + group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} cancel-in-progress: true on: push: + pull_request: workflow_dispatch: jobs: @@ -13,6 +14,8 @@ jobs: name: Running Nethermind Tests 1 runs-on: ubuntu-latest steps: + - name: Print concurrency token + run: echo "${{ github.workflow }}-${{ github.head_ref || github.ref }}" - uses: actions/checkout@v2 with: submodules: true @@ -177,21 +180,12 @@ jobs: - name: Nethermind.Secp256k1.Test.Linux run: | dotnet test -c Release src/Nethermind/Nethermind.Secp256k1.Test - - name: Nethermind.Runner.Test - run: | - dotnet test -c Release src/Nethermind/Nethermind.Runner.Test - name: Nethermind.State.Test run: | dotnet test -c Release src/Nethermind/Nethermind.State.Test - - name: Nethermind.Trie.Test - run: | - dotnet test -c Release src/Nethermind/Nethermind.Trie.Test - name: Nethermind.Synchronization.Test run: | dotnet test -c Release src/Nethermind/Nethermind.Synchronization.Test - - name: Nethermind.TxPool.Test - run: | - dotnet test -c Release src/Nethermind/Nethermind.TxPool.Test neth-tests5: name: Running Nethermind Tests 5 runs-on: ubuntu-latest @@ -207,15 +201,22 @@ jobs: run: | sudo apt-get update sudo apt-get install libsnappy-dev libc6-dev libc6 - - name: Nethermind.Ssz.Test + - name: Nethermind.TxPool.Test run: | - dotnet test -c Release src/Nethermind/Nethermind.Ssz.Test + dotnet test -c Release src/Nethermind/Nethermind.TxPool.Test + - name: Nethermind.Trie.Test + run: | + dotnet test -c Release src/Nethermind/Nethermind.Trie.Test + - name: Nethermind.Sockets.Test + run: | + dotnet test -c Release src/Nethermind/Nethermind.Sockets.Test - name: Nethermind.Wallet.Test run: | dotnet test -c Release src/Nethermind/Nethermind.Wallet.Test - - name: Nethermind.Sockets.Test + - name: Nethermind.Ssz.Test run: | - dotnet test -c Release src/Nethermind/Nethermind.Sockets.Test + dotnet test -c Release src/Nethermind/Nethermind.Ssz.Test + neth-runner: name: Nethermind Runner Tests runs-on: ubuntu-latest