Skip to content

Commit

Permalink
Fix automation
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Sella <[email protected]>
  • Loading branch information
inknos committed Aug 19, 2024
1 parent 95f565b commit f27dd21
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit f27dd21

Please sign in to comment.