chore: add dev-test make target to quickly re-run unit-tests (#539)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This commit is contained in:
parent
a817e744c7
commit
f9a0f2c785
8
Makefile
8
Makefile
@ -168,6 +168,14 @@ test: buildkitd
|
||||
docker run -i --rm $(DOCKER_TEST_ARGS) -v $(PWD)/.artifacts:/src/artifacts autonomy/$@:$(TAG) /bin/test.sh && \
|
||||
cp ./.artifacts/coverage.txt coverage.txt
|
||||
|
||||
dev-test:
|
||||
@docker run -i --rm $(DOCKER_TEST_ARGS) \
|
||||
-v $(PWD)/internal:/src/internal:ro \
|
||||
-v $(PWD)/pkg:/src/pkg:ro \
|
||||
-v $(PWD)/cmd:/src/cmd:ro \
|
||||
autonomy/test:$(TAG) \
|
||||
go test -v ./...
|
||||
|
||||
lint: buildkitd
|
||||
@buildctl --addr $(BUILDKIT_HOST) \
|
||||
build \
|
||||
|
Loading…
Reference in New Issue
Block a user