aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-12 10:37:54 +0500
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-12 10:37:54 +0500
commit099cbc61cc4f8a95a41817a5030269f392818a69 (patch)
treef4b606fa1736aed9b1ecbd1b4653092290ff5d3d
parenttest: add more tests, fix undetected failures (diff)
downloadvoid-099cbc61cc4f8a95a41817a5030269f392818a69.tar.gz
void-099cbc61cc4f8a95a41817a5030269f392818a69.zip
Makefile: add test
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--Makefile4
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d1e5cbc..947238a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,7 +20,7 @@ jobs:
with:
python-version: '${{ matrix.python-version }}'
- name: Run tests
- run: ./test/test.sh
+ run: make test
deploy:
needs: [test]
diff --git a/Makefile b/Makefile
index 0a4c1e8..bae193c 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,10 @@ clean:
view:
xdg-open '$(call escape,$(URL))' &> /dev/null
+.PHONY: test
+test:
+ ./test/test.sh
+
DOCKER_HOST ?= unix:///var/run/docker.sock
$(eval $(call noexpand,DOCKER_HOST))
export DOCKER_HOST