Merge pull request #42 from virtualeconomy/fix/vswap-sys-ctrt #19
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 | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- name: Install dependencies | |
run: go build -v ./... | |
- name: Run test suite | |
run: | | |
export GO_VSYS_HOST="${{ secrets.GO_VSYS_HOST }}" | |
export GO_VSYS_SUPERNODE_ADDR="${{ secrets.GO_VSYS_SUPERNODE_ADDR }}" | |
export GO_VSYS_SEED="${{ secrets.GO_VSYS_SEED }}" | |
export GO_VSYS_AVG_BLOCK_DELAY="${{ secrets.GO_VSYS_AVG_BLOCK_DELAY }}" | |
go test ./vsys -v -timeout 0 |