From 0a6401d195f6de4cbea314be0a432f6e8339498a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9cile=20Vuilleumier?= Date: Wed, 21 Aug 2024 15:50:27 +0200 Subject: [PATCH] Use Poetry --- .github/workflows/main.yaml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index b522ac5..1b9512f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -37,7 +37,7 @@ jobs: if: failure() - name: Install - run: make install + run: POETRY_VIRTUALENVS_CREATE=false make install - name: Tests run: make tests diff --git a/Makefile b/Makefile index a92089a..d26efa9 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,8 @@ help: ## Display this help message .PHONY: install install: ## Install package - pip install . + poetry install .PHONY: tests tests: ## Run unit tests - pytest -vvv tests + python -m pytest -vvv tests