Skip to content

Commit b4ade3d

Browse files
committed
Migrate to Github Actions
1 parent 7f64c10 commit b4ade3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v1
1818
- name: Run tests
19-
run: make test
19+
run: ./_tools/go-inline *.go && go fmt . && go test -v ./... -covermode=count -coverprofile=coverage.out -coverpkg=$(go list ./... | sed 's/\n/,/g')
2020
- name: Send coverage
2121
if: "matrix.platform == 'ubuntu-latest'"
2222
env:

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ glua: *.go pm/*.go cmd/glua/glua.go
77
./_tools/go-inline *.go && go fmt . && go build cmd/glua/glua.go
88

99
test:
10-
./_tools/go-inline *.go && go fmt . && go test -v ./... -covermode=count -coverprofile=coverage.out -coverpkg=./...
10+
./_tools/go-inline *.go && go fmt . && go test

0 commit comments

Comments
 (0)