You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0 KiB

  1. # Runs randomly generated E2E testnets nightly on master
  2. # manually run e2e tests
  3. name: e2e-manual
  4. on:
  5. workflow_dispatch:
  6. jobs:
  7. e2e-nightly-test:
  8. # Run parallel jobs for the listed testnet groups (must match the
  9. # ./build/generator -g flag)
  10. strategy:
  11. fail-fast: false
  12. matrix:
  13. group: ['00', '01', '02', '03']
  14. runs-on: ubuntu-latest
  15. timeout-minutes: 60
  16. steps:
  17. - uses: actions/setup-go@v2
  18. with:
  19. go-version: '1.17'
  20. - uses: actions/checkout@v2.4.0
  21. - name: Build
  22. working-directory: test/e2e
  23. # Run make jobs in parallel, since we can't run steps in parallel.
  24. run: make -j2 docker generator runner tests
  25. - name: Generate testnets
  26. working-directory: test/e2e
  27. # When changing -g, also change the matrix groups above
  28. run: ./build/generator -g 4 -d networks/nightly/
  29. - name: Run ${{ matrix.p2p }} p2p testnets
  30. working-directory: test/e2e
  31. run: ./run-multiple.sh networks/nightly/*-group${{ matrix.group }}-*.toml