-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nicola Sella <[email protected]>
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,18 @@ export PODMAN_VERSION ?= "5.2.0" | |
.PHONY: podman | ||
podman: | ||
rm dist/* || : | ||
$(PYTHON) -m pip install --user -r requirements.txt | ||
$(PYTHON) -m pip install --user .[testing] | ||
PODMAN_VERSION=$(PODMAN_VERSION) \ | ||
$(PYTHON) setup.py sdist bdist bdist_wheel | ||
$(PYTHON) -m hatch build | ||
|
||
.PHONY: lint | ||
.PHONY: fix | ||
lint: tox | ||
$(PYTHON) -m tox -e black,pylint | ||
$(PYTHON) -m tox -e fix | ||
|
||
.PHONY: tests | ||
tests: tox | ||
# see tox.ini for environment variable settings | ||
$(PYTHON) -m tox -e coverage,py36,py38,py39,py310,py311 | ||
$(PYTHON) -m tox -e coverage,py36,py38,py39,py310,py311,py312 | ||
|
||
.PHONY: unittest | ||
unittest: | ||
|
@@ -39,9 +39,9 @@ integration: | |
.PHONY: tox | ||
tox: | ||
ifeq (, $(shell which dnf)) | ||
brew install [email protected] [email protected] [email protected] [email protected] | ||
brew install [email protected] [email protected] [email protected] [email protected] [email protected] | ||
else | ||
-dnf install -y python3 python3.6 python3.8 python3.9 | ||
-dnf install -y python3 python3.6 python3.8 python3.9 python3.10 python3.11 python3.12 | ||
endif | ||
# ensure tox is available. It will take care of other testing requirements | ||
$(PYTHON) -m pip install --user tox | ||
|