From 4a16eb71a8afbfc3dc4eb5f7e689b15586714734 Mon Sep 17 00:00:00 2001 From: pylover Date: Thu, 15 Aug 2024 00:08:57 +0330 Subject: [PATCH] Fix: Github actions --- .github/workflows/build.yml | 6 +++--- Makefile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc06fc0..8cf6142 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,11 +26,11 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install dependencies - run: make env + run: make env VENV=/usr - name: Lint with Flake8 - run: make lint + run: make lint VENV=/usr - name: Test with pytest - run: make cover + run: make cover VENV=/usr - name: Coveralls run: coveralls env: diff --git a/Makefile b/Makefile index 092d415..92d212d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ HERE = $(shell readlink -f `dirname .`) VENVNAME = $(shell basename $(HERE)) -VENV = $(HOME)/.virtualenvs/$(VENVNAME) +VENV := $(HOME)/.virtualenvs/$(VENVNAME) PKG = $(VENVNAME) PYTEST_FLAGS = -v TEST_DIR = tests