Makefile: add target for testing generic implementation

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-03-09 15:35:24 +03:00 committed by Alex Vanin
parent 026731b260
commit 3491e7c5ea
2 changed files with 10 additions and 0 deletions

View file

@ -90,3 +90,6 @@ jobs:
- name: Run tests
run: go test -v ./...
- name: Run generic tests
run: go test -v -count=1 ./... --tags=generic

View file

@ -47,3 +47,10 @@ up: down deps
attach:
@echo "\n${B}${G} attach to hash-container ${R}\n"
@time docker exec -it --name hash-demo /bin/sh
# Test code with all backends
test:
go test ./...
test.generic:
go test ./... --tags=generic