Unit testing for def/ module.
Added unit tests to test code in def/ module.
This commit is contained in:
parent
e24b8a08c9
commit
bac60e872a
396 changed files with 83991 additions and 13209 deletions
|
@ -13,6 +13,15 @@ before_script:
|
|||
- cd /elektron
|
||||
- go mod download
|
||||
|
||||
unit_tests:
|
||||
script:
|
||||
- go test ./...
|
||||
|
||||
code_coverage:
|
||||
script:
|
||||
- go test --cover ./...
|
||||
|
||||
build:
|
||||
script:
|
||||
- go build -mod vendor -o elektron-from-vendor ## Testing build from vendored dependencies.
|
||||
- go build -v -o elektron
|
||||
|
|
Reference in a new issue