integration test

This commit is contained in:
Casey Lee
2020-02-24 12:48:12 -08:00
parent 6c632946be
commit 037e08a3a7
12 changed files with 94 additions and 73 deletions

View File

@@ -1,5 +1,5 @@
name: Check
description: Run static analysis and unit tests
name: Lint
description: Run static analysis
branding:
icon: check-circle
color: green

View File

@@ -1,4 +1,3 @@
#!/bin/sh
set -e
golangci-lint run
go test -cover -short ./...

View File

@@ -6,5 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/check
- uses: ./.github/workflows/integration
- uses: ./.github/workflows/lint
- uses: actions/setup-go@v1
with:
go-version: 1.13
- run: go test -cover ./...
env:
CGO_ENABLED: 0

View File

@@ -9,8 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/check
#- uses: ./.github/workflows/integration
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with: