e2e: split out nightly tests (#6395)

This commit is contained in:
Callum Waters
2021-04-27 21:34:08 +02:00
committed by GitHub
parent 7362756354
commit be2ac87ab0
3 changed files with 57 additions and 16 deletions

View File

@@ -16,6 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
p2p: ['legacy', 'new', 'hybrid']
group: ['00', '01', '02', '03']
runs-on: ubuntu-latest
timeout-minutes: 60
@@ -34,11 +35,12 @@ 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
run: ./build/generator -g 4 -d networks/nightly/{{ matrix.p2p }} -p {{ matrix.p2p }}
- name: Run 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/*-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