Makefile: add target for testing generic implementation
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
026731b260
commit
3491e7c5ea
2 changed files with 10 additions and 0 deletions
3
.github/workflows/run_tests.yml
vendored
3
.github/workflows/run_tests.yml
vendored
|
@ -90,3 +90,6 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
|
||||||
|
- name: Run generic tests
|
||||||
|
run: go test -v -count=1 ./... --tags=generic
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -47,3 +47,10 @@ up: down deps
|
||||||
attach:
|
attach:
|
||||||
@echo "\n${B}${G} attach to hash-container ${R}\n"
|
@echo "\n${B}${G} attach to hash-container ${R}\n"
|
||||||
@time docker exec -it --name hash-demo /bin/sh
|
@time docker exec -it --name hash-demo /bin/sh
|
||||||
|
|
||||||
|
# Test code with all backends
|
||||||
|
test:
|
||||||
|
go test ./...
|
||||||
|
|
||||||
|
test.generic:
|
||||||
|
go test ./... --tags=generic
|
||||||
|
|
Loading…
Reference in a new issue