mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 05:46:32 +00:00
github actions: fix e2e-nightly-master.yml (#6398)
This commit is contained in:
7
.github/workflows/e2e-nightly-master.yml
vendored
7
.github/workflows/e2e-nightly-master.yml
vendored
@@ -35,12 +35,11 @@ jobs:
|
||||
- name: Generate testnets
|
||||
working-directory: test/e2e
|
||||
# When changing -g, also change the matrix groups above
|
||||
run: ./build/generator -g 4 -d networks/nightly/{{ matrix.p2p }} -p {{ matrix.p2p }}
|
||||
run: ./build/generator -g 4 -d networks/nightly/${{ matrix.p2p }} -p ${{ matrix.p2p }}
|
||||
|
||||
- name: Run {{ matrix.p2p }} p2p testnets in group ${{ matrix.group }}
|
||||
- name: Run ${{ matrix.p2p }} p2p testnets in group ${{ matrix.group }}
|
||||
working-directory: test/e2e
|
||||
run: ./run-multiple.sh networks/nightly/{{ matrix.p2p }}/*-group${{ matrix.group
|
||||
}}-*.toml
|
||||
run: ./run-multiple.sh networks/nightly/${{ matrix.p2p }}/*-group${{ matrix.group }}-*.toml
|
||||
|
||||
e2e-nightly-fail-2:
|
||||
needs: e2e-nightly-test-2
|
||||
|
||||
1
.github/workflows/linter.yml
vendored
1
.github/workflows/linter.yml
vendored
@@ -11,6 +11,7 @@ on:
|
||||
branches: [master]
|
||||
paths:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -50,11 +50,11 @@ func NewCLI() *CLI {
|
||||
return err
|
||||
}
|
||||
var opts Options
|
||||
switch p2pMode {
|
||||
case "new", "legacy", "split", "mixed":
|
||||
opts = Options{P2P: P2PMode(p2pMode)}
|
||||
switch mode := P2PMode(p2pMode); mode {
|
||||
case NewP2PMode, LegacyP2PMode, HybridP2PMode, MixedP2PMode:
|
||||
opts = Options{P2P: mode}
|
||||
default:
|
||||
return fmt.Errorf("p2p mode must be either new, legacy, split or mixed got %s", p2pMode)
|
||||
return fmt.Errorf("p2p mode must be either new, legacy, hybrid or mixed got %s", p2pMode)
|
||||
}
|
||||
|
||||
return cli.generate(dir, groups, opts)
|
||||
|
||||
Reference in New Issue
Block a user