summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/dockerimage.yml2
-rw-r--r--Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml
index b23de9c6..efbe5655 100644
--- a/.github/workflows/dockerimage.yml
+++ b/.github/workflows/dockerimage.yml
@@ -17,4 +17,4 @@ jobs:
run: make testenv
- name: Running tests ...
- run: make tox
+ run: make tox CMD="tox -c testenv/tox.ini"
diff --git a/Makefile b/Makefile
index dba0b148..9584a8b2 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,7 @@ tox: testenv
&& cp /usr/share/kvmd/configs.default/kvmd/main/$(if $(P),$(P),$(DEFAULT_PLATFORM)).yaml /etc/kvmd/main.yaml \
&& cp /src/testenv/$(if $(P),$(P),$(DEFAULT_PLATFORM)).override.yaml /etc/kvmd/override.yaml \
&& cd /src \
- && tox -q -c testenv/tox.ini $(if $(E),-e $(E),-p auto) \
+ && $(if $(CMD),$(CMD),tox -q -c testenv/tox.ini $(if $(E),-e $(E),-p auto)) \
"