forked from lavanet/lava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* For Cosmos&Ignite Upgrade Help, Check out ./docs/upgrade_cosmos.md * For Cosmos&Ignite Upgrade Help, Check out ./docs/upgrade_cosmos.md * fixed timeout * Ignite 0.22.1 Cosmos 0.44.5 - e2e timeout 11m * Lava Docker - Starport 0.19.2 * Lava Docker - Working! - starport * Updated e2e paths to use $LAVA * E2E Working on Docker * Updated Github LAVA env * LAVA IGNITE 22.1 DOCKER E2E WORKING !!! * restored starport * Updated Test Homepath * Ignite: Updated Test Paths * fix updated paths gh * fixed gh paths * GHA - Pre-build with ignite * GHA - Pre-build with ignite * docker experiments * removed .scripts * Reorder scripts for PR * e2e test changed dockerfile path * disabled docker build (for now) Co-authored-by: omerlavanet <[email protected]>
- Loading branch information
1 parent
fb0455c
commit 9251404
Showing
23 changed files
with
44,048 additions
and
13,699 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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
name: Lava e2e Tests | ||
|
||
on: [push, pull_request] | ||
# on: [push] | ||
|
||
|
||
jobs: | ||
go: | ||
|
@@ -14,22 +12,22 @@ jobs: | |
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18.2 | ||
# - name: install screen | ||
# run: sudo apt install screen -y | ||
|
||
# Install Ignite | ||
- name: ignite install | ||
run: curl https://get.ignite.com/cli! | bash | ||
- name: ls usr | ||
run: ls -l /home/runner/work/lava/lava | ||
# - name: docker build | ||
# run: docker build -t lava-docker . | ||
- name: ignite version | ||
run: ignite version | ||
- name: starport install | ||
run: curl https://get.starport.network/[email protected]! | bash | ||
- name: starport version | ||
run: starport version | ||
# - name: starport install | ||
# run: curl https://get.starport.network/[email protected]! | bash | ||
# - name: starport version | ||
# run: starport version | ||
|
||
# Setup Paths | ||
- name: home | ||
run: pwd && ls -l | ||
- name: ls usr | ||
run: ls -l /home/runner/work/lava/lava | ||
- name: cp lava | ||
run: cp -r ~/work/lava/lava ~/go/lava | ||
- name: export PATH | ||
|
@@ -38,6 +36,8 @@ jobs: | |
# run: export PATH=$PATH:/go/lava | ||
- name: export GOPATH | ||
run: export GOPATH=$GOPATH:$(go env GOPATH):/go:/go/lava:/usr/local:`pwd` | ||
- name: export LAVA | ||
run: export LAVA=/home/runner/work/lava/lava | ||
- name: go env | ||
run: go env | ||
- name: pwd | ||
|
@@ -46,34 +46,18 @@ jobs: | |
run: tree | ||
- name: ls -l | ||
run: ls -l | ||
|
||
# Pre-build with ignite | ||
- name: ignite build | ||
run: ignite chain build -v | ||
- name: starport build | ||
run: starport chain build -v | ||
|
||
|
||
# - name: node | ||
# run: cd ~/go/lava; starport chain serve -v -r | ||
# run: cd ~/go/lava; go test ./testutil/e2e/ -v | ||
# - name: test timeout 4 mins | ||
# run: go test -timeout 240s | ||
# - name: test timeout 3 mins | ||
# run: go test -timeout 180s | ||
- name: lava e2e tests | ||
# run: cd ~/go/lava; go test ./testutil/e2e/ -v | ||
run: go test ./testutil/e2e/ -v -timeout 440s # 8mins 20secs | ||
# run: go test ./testutil/e2e/ -v -timeout 240s & sleep 60 && ./providers.sh | ||
# - name: starport build | ||
# run: starport chain build -v | ||
|
||
# - name: check lavad prov1 output | ||
# run: sleep 120 ; go run relayer/cmd/relayer/main.go server 127.0.0.1 2221 ws://kololo8ex9:ifififkwqlspAFJIjfdMCsdmasdgAKoakdFOAKSFOakfaSEFkbntb311esad@168.119.211.250/eth/ws/ ETH1 jsonrpc --from servicer1 | ||
|
||
# - name: sleep 60 for node uptime | ||
# run: sleep 60 | ||
# - name: ./init_provX | ||
# run: cd /home/runner/work/lava/lava && ./init_provX.sh | ||
|
||
# - name: cat provX.log | ||
# run: cat ./testutil/e2e/logs/provX.log | ||
###################################################### | ||
### Run Lava E2E Tests IGNITE VERSION:0.22.1 | ||
###################################################### | ||
- name: Run Lava E2E Tests IGNITE VERSION:0.22.1 -timeout 660s | ||
run: go test ./testutil/e2e/ -v -timeout 660s # 11mins | ||
|
||
# Show ETH Logs | ||
- name: cat clientEth.log | ||
|
@@ -88,5 +72,8 @@ jobs: | |
run: cat ./testutil/e2e/logs/clientOsmo2.log | ||
- name: cat providers_osmosis.log | ||
run: cat ./testutil/e2e/logs/providers_eth.log | ||
# - name: docker build | ||
# run: docker build -t lava-docker scripts/docker | ||
|
||
|
||
|
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
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
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
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
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
Oops, something went wrong.