Merge pull request #149 from xpladev/release/v1.6.x #205
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: End-to-end test | |
on: | |
push: | |
branches: [ "main", "cube", "release/**" ] | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup network | |
run: | | |
mkdir ~/genesis | |
cd tests/e2e && docker compose up -d | |
docker ps | |
sleep 20 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- name: End-to-end test | |
run: cd tests/e2e && go test | |
- name: Teardown | |
run: cd tests/e2e && docker compose down |