update justfile
This commit is contained in:
@@ -6,7 +6,6 @@ lint:
|
|||||||
stage: test
|
stage: test
|
||||||
image: registry.gitlab.com/etke.cc/base/build
|
image: registry.gitlab.com/etke.cc/base/build
|
||||||
script:
|
script:
|
||||||
- just try
|
|
||||||
- just lint
|
- just lint
|
||||||
|
|
||||||
unit:
|
unit:
|
||||||
|
|||||||
4
justfile
4
justfile
@@ -31,7 +31,7 @@ lintfix:
|
|||||||
|
|
||||||
# run unit tests
|
# run unit tests
|
||||||
test:
|
test:
|
||||||
@go test -coverprofile=cover.out ./...
|
@go test -cover -coverprofile=cover.out -coverpkg=./... -covermode=set ./...
|
||||||
@go tool cover -func=cover.out
|
@go tool cover -func=cover.out
|
||||||
-@rm -f cover.out
|
-@rm -f cover.out
|
||||||
|
|
||||||
@@ -50,4 +50,4 @@ login:
|
|||||||
# docker build
|
# docker build
|
||||||
docker:
|
docker:
|
||||||
docker buildx create --use
|
docker buildx create --use
|
||||||
docker buildx build --platform linux/arm64/v8,linux/amd64 --push -t {{ gitlab_image }} -t {{ etke_image }} .
|
docker buildx build --pull --platform linux/arm64/v8,linux/amd64 --push -t {{ gitlab_image }} -t {{ etke_image }} .
|
||||||
|
|||||||
Reference in New Issue
Block a user