Skip to content

Commit

Permalink
fix: make tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Dec 12, 2024
1 parent ab0ef88 commit b1c7ae5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
PROJECT=craft_application
ifneq ($(wildcard /etc/os-release),)
include /etc/os-release
export
endif

ifneq ($(VERSION_CODENAME),)
SETUP_TESTS_EXTRA_ARGS=--group apt-$(VERSION_CODENAME)
endif

UV_FROZEN=true

include common.mk

Expand Down
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ setup: install-uv setup-precommit ## Set up a development environment

.PHONY: setup-tests
setup-tests: install-uv install-build-deps ##- Set up a testing environment without linters
uv sync --frozen
uv sync --frozen $(SETUP_TESTS_EXTRA_ARGS)

.PHONY: setup-lint
setup-lint: install-uv install-shellcheck install-lint-build-deps ##- Set up a linting-only environment
Expand Down

0 comments on commit b1c7ae5

Please sign in to comment.