Skip to content

Merge pull request #42 from virtualeconomy/fix/vswap-sys-ctrt #19

Merge pull request #42 from virtualeconomy/fix/vswap-sys-ctrt

Merge pull request #42 from virtualeconomy/fix/vswap-sys-ctrt #19

Workflow file for this run

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