Skip to content

Commit 6dcd8e8

Browse files
Reenable the upgrade tests (#2769)
1 parent 6322e19 commit 6dcd8e8

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,16 @@ jobs:
109109
- name: Build AvalancheGo Binary
110110
shell: bash
111111
run: ./scripts/build.sh
112-
# TODO: Reactivate test once v1.11.0 is published
113-
# - name: Run e2e tests
114-
# shell: bash
115-
# run: ./scripts/tests.upgrade.sh
116-
# - name: Upload tmpnet network dir
117-
# uses: actions/upload-artifact@v4
118-
# if: always()
119-
# with:
120-
# name: upgrade-tmpnet-data
121-
# path: ${{ env.tmpnet_data_path }}
122-
# if-no-files-found: error
112+
- name: Run e2e tests
113+
shell: bash
114+
run: ./scripts/tests.upgrade.sh
115+
- name: Upload tmpnet network dir
116+
uses: actions/upload-artifact@v4
117+
if: always()
118+
with:
119+
name: upgrade-tmpnet-data
120+
path: ${{ env.tmpnet_data_path }}
121+
if-no-files-found: error
123122
Lint:
124123
runs-on: ubuntu-latest
125124
steps:

scripts/tests.upgrade.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
set -euo pipefail
44

55
# e.g.,
6-
# ./scripts/tests.upgrade.sh # Use default version
7-
# ./scripts/tests.upgrade.sh 1.10.18 # Specify a version
8-
# AVALANCHEGO_PATH=./path/to/avalanchego ./scripts/tests.upgrade.sh 1.10.18 # Customization of avalanchego path
6+
# ./scripts/tests.upgrade.sh # Use default version
7+
# ./scripts/tests.upgrade.sh 1.11.0 # Specify a version
8+
# AVALANCHEGO_PATH=./path/to/avalanchego ./scripts/tests.upgrade.sh 1.11.0 # Customization of avalanchego path
99
if ! [[ "$0" =~ scripts/tests.upgrade.sh ]]; then
1010
echo "must be run from repository root"
1111
exit 255
@@ -16,9 +16,8 @@ fi
1616
# local network, this flag must be updated to the last compatible
1717
# version with the latest code.
1818
#
19-
# v1.10.18 includes restrictions on ports sent over the p2p network along with
20-
# proposervm and P-chain rule changes on the local network.
21-
DEFAULT_VERSION="1.10.18"
19+
# v1.11.0 activates Durango.
20+
DEFAULT_VERSION="1.11.0"
2221

2322
VERSION="${1:-${DEFAULT_VERSION}}"
2423
if [[ -z "${VERSION}" ]]; then

0 commit comments

Comments
 (0)