Skip to content

Commit

Permalink
new test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkobject committed Oct 10, 2024
1 parent 497f4e2 commit 5ee897f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ install: ## Install the project in dev mode.

.PHONY: fmt
fmt: ## Format code using ruff.
$(ENV_PREFIX)ruff format scdataloader/ tests/
$(ENV_PREFIX)uv run ruff format scdataloader/ tests/

.PHONY: lint
lint: ## Run ruff linter.
$(ENV_PREFIX)ruff check --fix scdataloader/ tests/
$(ENV_PREFIX)uv run ruff check --fix scdataloader/ tests/

.PHONY: test
test: lint ## Run tests and generate coverage report.
$(ENV_PREFIX)pytest -v --cov-config .coveragerc --cov=scdataloader -l --tb=short --maxfail=1 tests/
$(ENV_PREFIX)uv run pytest -v --cov-config .coveragerc --cov=scdataloader -l --tb=short --maxfail=1 tests/
$(ENV_PREFIX)coverage xml
$(ENV_PREFIX)coverage html

Expand Down

0 comments on commit 5ee897f

Please sign in to comment.