Skip to content

Merge pull request #199 from ugwis/fix/debug-format-output #230

Merge pull request #199 from ugwis/fix/debug-format-output

Merge pull request #199 from ugwis/fix/debug-format-output #230

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: Unit tests
env:
GOFLAGS: "-buildvcs=false"
jobs:
test:
name: Test
runs-on: ubuntu-latest
container: golang:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Lint
run: |
staticcheck ./...
staticcheck -tags=func_test ./...
go vet ./...
go vet -tags=func_test ./...
- name: Run unit tests
run: go test ./...
- name: Run functional tests
run: go test -tags=func_test ./...