Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DESTDIR ?= /
PATH := $(PATH):$(HOME)/.local/bin
IMAGE ?= ramalama
PYTHON_FILES := $(shell find . -path "./.venv" -prune -o -name "*.py" -print) $(shell find . -name ".venv" -prune -o -type f -perm +111 -exec grep -l "^\#!/usr/bin/env python3" {} \; 2>/dev/null || true)
PYTEST_COMMON_CMD ?= PYTHONPATH=. pytest test/unit/ -vv

default: help

Expand Down Expand Up @@ -166,11 +167,11 @@ ci:

.PHONY: unit-tests
unit-tests:
PYTHONPATH=. pytest test/unit/ -vv
$(PYTEST_COMMON_CMD)

.PHONY: unit-tests-verbose
unit-tests-verbose:
PYTHONPATH=. pytest test/unit/ -vv --full-trace --capture=tee-sys
$(PYTEST_COMMON_CMD) --full-trace --capture=tee-sys

.PHONY: cov-run
cov-run: install-cov-requirements
Expand Down
Loading