From 099cbc61cc4f8a95a41817a5030269f392818a69 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 12 Mar 2022 10:37:54 +0500 Subject: Makefile: add test --- .github/workflows/ci.yml | 2 +- Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3