From b4ade3d40ceb41dcd97330849b3f6b6f190eaeeb Mon Sep 17 00:00:00 2001 From: yuin Date: Tue, 3 Jan 2023 00:52:12 +0900 Subject: [PATCH] Migrate to Github Actions --- .github/workflows/test.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8e904684..eed3390c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,7 +16,7 @@ jobs: - name: Checkout code uses: actions/checkout@v1 - name: Run tests - run: make test + run: ./_tools/go-inline *.go && go fmt . && go test -v ./... -covermode=count -coverprofile=coverage.out -coverpkg=$(go list ./... | sed 's/\n/,/g') - name: Send coverage if: "matrix.platform == 'ubuntu-latest'" env: diff --git a/Makefile b/Makefile index 41e91fb9..6d9e55c3 100644 --- a/Makefile +++ b/Makefile @@ -7,4 +7,4 @@ glua: *.go pm/*.go cmd/glua/glua.go ./_tools/go-inline *.go && go fmt . && go build cmd/glua/glua.go test: - ./_tools/go-inline *.go && go fmt . && go test -v ./... -covermode=count -coverprofile=coverage.out -coverpkg=./... + ./_tools/go-inline *.go && go fmt . && go test