File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 45
45
sudo mkdir -p /usr/local/gitconvex
46
46
sudo chown $(whoami) /usr/local/gitconvex/
47
47
go generate
48
- $GITHUB_WORKSPACE/build_scripts/clone_test_repo.sh
49
- go test ./... -count=1 -cover
48
+ make test-ci
50
49
51
50
gitconvex-build :
52
51
needs :
Original file line number Diff line number Diff line change 45
45
sudo mkdir -p /usr/local/gitconvex
46
46
sudo chown $(whoami) /usr/local/gitconvex/
47
47
go generate
48
- $GITHUB_WORKSPACE/build_scripts/clone_test_repo.sh
49
- go test ./... -count=1 -cover
48
+ make test-ci
50
49
51
50
gitconvex-build :
52
51
needs :
Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ test-pretty:
46
46
gotestsum ./... -count=1 -cover -coverprofile=coverage.out && \
47
47
rm -rf $$GITCONVEX_TEST_REPO
48
48
49
+ test-ci :
50
+ go clean --cache && \
51
+ ./build_scripts/clone_test_repo.sh && \
52
+ go test ./... -count=1 -cover -coverprofile=coverage.out && \
53
+ rm -rf $$GITCONVEX_TEST_REPO
54
+
49
55
show-coverage :
50
56
go tool cover -html=coverage.out
51
57
You can’t perform that action at this time.
0 commit comments