Added makefile and .github

This commit is contained in:
Juan Font Alonso
2022-11-04 00:11:34 +01:00
parent 3a6ef6bece
commit bbc8cb11da
2 changed files with 46 additions and 0 deletions

View File

@@ -66,6 +66,17 @@ test_integration_v2_general:
golang:1 \
go test ./... -timeout 60m -parallel 6
test_integration_v2_auth_web_flow:
docker run \
-t --rm \
-v ~/.cache/hs-integration-go:/go \
--name headscale-test-suite \
-v $$PWD:$$PWD -w $$PWD/integration \
-v /var/run/docker.sock:/var/run/docker.sock \
golang:1 \
go test ./... -timeout 60m -parallel 6 -run TestAuthWebFlow
coverprofile_func:
go tool cover -func=coverage.out