Defer consensus verification #9454
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 upgrade | |
on: | |
push: | |
tags: | |
- "*" | |
branches: | |
- master | |
- dev | |
pull_request: | |
merge_group: | |
types: [checks_requested] | |
permissions: | |
contents: read | |
jobs: | |
test_upgrade: | |
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 | |
- name: Run upgrade tests | |
shell: bash | |
# 1.10.7 is the first version compatible with the testnet fixture by | |
# virtue of writing a process context file on node start. | |
run: ./scripts/tests.upgrade.sh 1.10.7 | |
- name: Upload testnet network dir | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: testnet-data | |
path: ~/.testnetctl/networks/1000 |