Skip to content

Commit

Permalink
ci: Add manual E2E workflow for v0.34.x branch
Browse files Browse the repository at this point in the history
Signed-off-by: Thane Thomson <[email protected]>
  • Loading branch information
thanethomson committed Feb 3, 2023
1 parent 0d1c11a commit 5c17bcd
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/e2e-manual-34x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Runs randomly generated E2E testnets manually on the 0.34.x branch.

# !! This file should be kept in sync with the e2e-nightly-main.yml file,
# modulo changes to the version labels.

name: e2e-manual-34x
on:
workflow_dispatch:

jobs:
e2e-manual-34x-test:
# Run parallel jobs for the listed testnet groups (must match the
# ./build/generator -g flag)
strategy:
fail-fast: false
matrix:
group: ['00', '01']
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.18'

- uses: actions/checkout@v3
with:
ref: 'v0.34.x'

- name: Capture git repo info
id: git-info
run: |
echo "branch=`git branch --show-current`" >> $GITHUB_OUTPUT
- name: Build
working-directory: test/e2e
# Run make jobs in parallel, since we can't run steps in parallel.
run: make -j2 docker generator runner

- name: Generate testnets
working-directory: test/e2e
# When changing -g, also change the matrix groups above
run: ./build/generator -g 2 -d networks/nightly

- name: Run testnets in group ${{ matrix.group }}
working-directory: test/e2e
run: ./run-multiple.sh networks/nightly/*-group${{ matrix.group }}-*.toml

0 comments on commit 5c17bcd

Please sign in to comment.