Update tests for sqrt(XY) pool basis #228
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: Go Unit Tests | |
on: | |
push: | |
branches: [ main, dev ] | |
pull_request: | |
branches: [ main, dev ] | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.16 | |
id: go | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build market | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... -coverprofile=cover.out && go tool cover -html=cover.out |