Skip to content

Commit

Permalink
Rebalance test workflow + add pull_request (#4181)
Browse files Browse the repository at this point in the history
* Rebalance test workflow + add pull_request

* try better concurrency

* print concurrency token

* different concurrency token
  • Loading branch information
LukaszRozmej authored Jun 21, 2022
1 parent 11211f9 commit aaa4bcd
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/run-nethermind-tests.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
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:
neth-tests:
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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit aaa4bcd

Please sign in to comment.