Skip to content

Commit

Permalink
fix: include apt extra in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Dec 6, 2024
1 parent 8279dba commit 62d3f1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
PROJECT=charmcraft
SETUP_TESTS_EXTRA_ARGS=--extra apt

include common.mk

Expand Down Expand Up @@ -35,11 +36,3 @@ else ifneq ($(shell which brew),)
sudo cp -R /usr/local/opt/[email protected] /usr/local
brew install multipass
endif

.PHONY: setup-tests
setup-tests: install-uv install-build-deps ##- Set up a testing environment without linters
ifneq ($(shell which brew),)
export LDFLAGS="-L/usr/local/opt/[email protected]/lib"
export CPPFLAGS="-I/usr/local/opt/[email protected]/include"
endif
uv sync --frozen
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 ##- Set up a linting-only environment
Expand Down

0 comments on commit 62d3f1c

Please sign in to comment.