Skip to content

Commit

Permalink
Add run-unit-tests & run-integration-tests targets to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
cderici committed Jan 23, 2024
1 parent 3bb530d commit 6295d5b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@ client:
tox -r --notest -e lint,py3
$(PY) -m juju.client.facade -s "juju/client/schemas*" -o juju/client/

.PHONY: test
test: lint
.PHONY: run-unit-tests
run-unit-tests: lint .tox
tox -e py3

.PHONY: run-integration-tests
run-unit-tests: lint .tox
tox -e integration

.PHONY: run-all-tests
test: run-unit-tests run-integration-tests

.PHONY: lint
lint:
@./scripts/copyright.sh
Expand Down

0 comments on commit 6295d5b

Please sign in to comment.