From 479e0e1a1935faa6a993ac22dc699144b556ca16 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Sat, 25 Jun 2022 01:16:48 +0100 Subject: [PATCH] add pre-commit --- tests/pre-commit.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/pre-commit.ps1 b/tests/pre-commit.ps1 index 571b6c6..8053dd7 100644 --- a/tests/pre-commit.ps1 +++ b/tests/pre-commit.ps1 @@ -1,7 +1,9 @@ Function RunTests { - $run_tests = "cd ../; go clean -testcache; go test ./..." + $run_ext_tests = "go clean -testcache; go test -v .\tests\" + $run_int_tests = "go clean -testcache; go test -v .\voicemeeter\" - Invoke-Expression $run_tests + Invoke-Expression $run_ext_tests + Invoke-Expression $run_int_tests } if ($MyInvocation.InvocationName -ne ".") {