Add p2p.Network
component
#5392
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test e2e with persistent network | |
on: | |
push: | |
tags: | |
- "*" | |
branches: | |
- master | |
- dev | |
pull_request: | |
merge_group: | |
types: [checks_requested] | |
permissions: | |
contents: read | |
jobs: | |
test_e2e_persistent: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '~1.20.10' | |
check-latest: true | |
- name: Build the avalanchego binary | |
shell: bash | |
run: ./scripts/build.sh -r | |
- name: Run e2e tests with persistent network | |
shell: bash | |
run: E2E_SERIAL=1 ./scripts/tests.e2e.persistent.sh | |
- name: Upload testnet network dir | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: testnet-data | |
path: ~/.testnetctl/networks/1000 |