File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1818 go-version-file : ' go.mod'
1919 - name : Build
2020 run : make build
21+ - name : Unit Test
22+ run : make test
2123 lint :
2224 runs-on : ubuntu-latest
2325 permissions : {}
Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ tools: ## Install the dev tools (dependencies)
2323clean : # # Clean binary folders
2424 rm -rf ./bin ./bin-plugin
2525
26+ .PHONY : test
27+ test : # # Run unit tests
28+ go test ./... -timeout=30s -parallel=4 -race
29+
30+ .PHONY : test-update
31+ test-update : # # Run unit tests and update the golden files
32+ go test ./... -timeout=30s -parallel=4 -race -update
33+
2634.PHONY : local
2735local : clean build # # Allow to run the plugin locally
2836 @echo " ==> Configuring plugin locally"
You can’t perform that action at this time.
0 commit comments