From 6bda6b09033b6f3086ba8b994af621735d11ff26 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Mon, 22 Jul 2024 20:44:49 +0100 Subject: [PATCH] Allow passing custom ARGS to Makefile --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 912614a3..c3c10409 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ .PHONY: test test: - $(run) pytest --cov=posting tests/ -n 16 -m "not serial" - $(run) pytest --cov-report term-missing --cov-append --cov=posting tests/ -m serial + $(run) pytest --cov=posting tests/ -n 16 -m "not serial" $(ARGS) + $(run) pytest --cov-report term-missing --cov-append --cov=posting tests/ -m serial $(ARGS) test-snapshot-update: - $(run) pytest --cov=posting tests/ -n 16 -m "not serial" --snapshot-update - $(run) pytest --cov-report term-missing --cov-append --cov=posting tests/ -m serial --snapshot-update \ No newline at end of file + $(run) pytest --cov=posting tests/ -n 16 -m "not serial" --snapshot-update $(ARGS) + $(run) pytest --cov-report term-missing --cov-append --cov=posting tests/ -m serial --snapshot-update $(ARGS) \ No newline at end of file