Skip to content

Commit

Permalink
Use separate test command for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
msom committed Dec 16, 2024
1 parent da4872f commit 4021a6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ var/
.volumes

# Coverage report
.coverage
coverage.lcov
htmlcov/
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,13 @@ type-check: ## Run the type-checker mypy
start-local-db: ## Run the local db as docker container
docker compose up -d

.PHONY: test-ci
test-ci: ## Run tests in the CI
$(TEST) --cov --cov-report=lcov

.PHONY: test
test: ## Run tests locally
$(TEST) --cov --cov-report=lcov
$(TEST) --cov --cov-report=html

.PHONY: setup-bod
setup-bod: ## Set up the bod locally
Expand Down

0 comments on commit 4021a6f

Please sign in to comment.