mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 05:14:13 +01:00
Update unit test script.
This commit is contained in:
@@ -14,5 +14,8 @@
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
tests=$(for file in $(find . -iname "*_test.go" | grep -v "./vendor" | sed "s/\.//"); do test=$(dirname $file | sed "s/\.//"); echo "github.com/aveshagarwal/rescheduler$test"; done)
|
||||
go test $tests
|
||||
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
|
||||
|
||||
# run unit tests
|
||||
go test $(go list ${PRJ_PREFIX}/... | grep -v ${PRJ_PREFIX}/vendor/)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user