Skip to content
Snippets Groups Projects
Commit 601cf72d authored by 邹毅贤's avatar 邹毅贤
Browse files

add Makefile into github action

parent 7d1c4bc0
No related branches found
No related tags found
No related merge requests found
......@@ -50,18 +50,9 @@ jobs:
go get -v -t -d ./...
fi
- name: License Check
- name: Verify
run: |
go fmt ./... && [[ -z `git status -s` ]]
sh before_validate_license.sh
chmod u+x /tmp/tools/license/license-header-checker
/tmp/tools/license/license-header-checker -v -a -r -i vendor /tmp/tools/license/license.txt . go && [[ -z `git status -s` ]]
- name: Test
run: |
chmod u+x before_ut.sh && ./before_ut.sh
go mod vendor && go test ./... -coverprofile=coverage.txt -covermode=atomic
chmod +x integrate_test.sh && ./integrate_test.sh
make verify
- name: Coverage
run: bash <(curl -s https://codecov.io/bash)
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment