mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 22:05:23 +02:00
codecov integration with portainer-suite [PLA-119] (#210)
This commit is contained in:
parent
2f4f1be99c
commit
17648d12fe
4 changed files with 376 additions and 262 deletions
4
Makefile
4
Makefile
|
@ -67,10 +67,10 @@ clean: ## Remove all build and download artifacts
|
|||
test: test-server test-client ## Run all tests
|
||||
|
||||
test-client: ## Run client tests
|
||||
yarn test $(ARGS)
|
||||
yarn test $(ARGS) --coverage
|
||||
|
||||
test-server: ## Run server tests
|
||||
$(GOTESTSUM) --format pkgname-and-test-fails --format-hide-empty-pkg --hide-summary skipped -- -cover ./...
|
||||
$(GOTESTSUM) --format pkgname-and-test-fails --format-hide-empty-pkg --hide-summary skipped -- -cover -covermode=atomic -coverprofile=coverage.out ./...
|
||||
|
||||
##@ Dev
|
||||
.PHONY: dev dev-client dev-server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue