-
Notifications
You must be signed in to change notification settings - Fork 956
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bat/refactor-masp-e2e-history' (#1714)
* bat/refactor-masp-e2e-history: refator e2e masp tests
- Loading branch information
Showing
41 changed files
with
4,176 additions
and
2,454 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Added integration testing infrastructure for node, client and | ||
the wallet and replaced MASP E2E tests with integration tests. | ||
([\#1714](https://github.com/anoma/namada/pull/1714)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,7 +200,7 @@ jobs: | |
if: matrix.os == 'ubuntu-20.04' | ||
env: | ||
LINK: https://github.com/mozilla/sccache/releases/download | ||
SCCACHE_VERSION: v0.5.4 | ||
SCCACHE_VERSION: v0.3.0 | ||
run: | | ||
SCCACHE_FILE=sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl | ||
mkdir -p $HOME/.local/bin | ||
|
@@ -314,7 +314,7 @@ jobs: | |
if: matrix.os == 'ubuntu-20.04' | ||
env: | ||
LINK: https://github.com/mozilla/sccache/releases/download | ||
SCCACHE_VERSION: v0.5.4 | ||
SCCACHE_VERSION: v0.3.0 | ||
run: | | ||
SCCACHE_FILE=sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl | ||
mkdir -p $HOME/.local/bin | ||
|
@@ -386,7 +386,6 @@ jobs: | |
os: [ubuntu-20.04] | ||
nightly_version: [nightly-2023-06-01] | ||
mold_version: [1.7.0] | ||
comet_bft: [0.37.2] | ||
make: | ||
- name: e2e | ||
suffix: '' | ||
|
@@ -443,7 +442,7 @@ jobs: | |
if: matrix.os == 'ubuntu-20.04' | ||
env: | ||
LINK: https://github.com/mozilla/sccache/releases/download | ||
SCCACHE_VERSION: v0.5.4 | ||
SCCACHE_VERSION: v0.3.0 | ||
run: | | ||
SCCACHE_FILE=sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl | ||
mkdir -p $HOME/.local/bin | ||
|
@@ -489,12 +488,6 @@ jobs: | |
run: make build-test | ||
env: | ||
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold" | ||
- name: Download MASP parameters | ||
run: | | ||
mkdir -p /home/runner/.masp-params | ||
curl -o /home/runner/.masp-params/masp-spend.params -L https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-spend.params\?raw\=true | ||
curl -o /home/runner/.masp-params/masp-output.params -L https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-output.params?raw=true | ||
curl -o /home/runner/.masp-params/masp-convert.params -L https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-convert.params?raw=true | ||
- name: Wait for release binaries | ||
uses: lewagon/[email protected] | ||
with: | ||
|
@@ -515,7 +508,7 @@ jobs: | |
path: ./target/release/ | ||
- name: Download CometBFT | ||
run: | | ||
curl -o cometbft.tar.gz -LO https://github.com/cometbft/cometbft/releases/download/v${{ matrix.comet_bft }}/cometbft_${{ matrix.comet_bft }}_linux_amd64.tar.gz | ||
curl -o cometbft.tar.gz -LO https://github.com/cometbft/cometbft/releases/download/v0.37.2/cometbft_0.37.2_linux_amd64.tar.gz | ||
tar -xvzf cometbft.tar.gz | ||
mv cometbft /usr/local/bin | ||
- name: Change permissions | ||
|
@@ -526,9 +519,9 @@ jobs: | |
chmod +x target/release/namadac | ||
chmod +x /usr/local/bin/cometbft | ||
- name: Run e2e test | ||
run: python3 .github/workflows/scripts/schedule-e2e.py | ||
run: | | ||
python3 .github/workflows/scripts/schedule-e2e.py | ||
env: | ||
NAMADA_MASP_PARAMS_DIR: /home/runner/.masp-params | ||
NAMADA_E2E_USE_PREBUILT_BINARIES: "true" | ||
NAMADA_E2E_KEEP_TEMP: "true" | ||
NAMADA_TM_STDOUT: "false" | ||
|
Oops, something went wrong.