Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
ci: disable genesis-default for kagome & gossamer
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFranzen committed Jun 2, 2022
1 parent 7756e3f commit 635dfa4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
strategy:
fail-fast: false
matrix:
fixture: [ genesis-default, genesis-legacy ]
fixture: [ genesis-legacy ]
name: "[test-${{ matrix.fixture }}] kagome"
runs-on: ubuntu-20.04
steps:
Expand All @@ -221,7 +221,7 @@ jobs:
strategy:
fail-fast: false
matrix:
fixture: [ genesis-default, genesis-legacy ]
fixture: [ genesis-legacy ]
name: "[test-${{ matrix.fixture }}] gossamer"
runs-on: ubuntu-20.04
steps:
Expand Down
10 changes: 10 additions & 0 deletions fixtures/genesis-legacy/include.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,14 @@ HostFixture.execute(tester, 10) do (root, result)

# Check state root hash
@test root == hashes[1]


# Extract all calls made from log
calls = map(m -> m[1], eachmatch(r"@@([^@\n]+)@@", result))

# Check that grandpa config is requested
@test "grandpa_authorities()" in calls

# Check that babe configuration is requested
@test "configuration()" in calls
end

0 comments on commit 635dfa4

Please sign in to comment.