From 8ddb38ed7450a931a45835b8dd692f076668d89c Mon Sep 17 00:00:00 2001 From: Laurent Savaete Date: Mon, 21 Dec 2020 22:44:09 +0000 Subject: [PATCH] Use poetry run to activate venv --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 49837cf..416ec7e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -33,10 +33,10 @@ jobs: poetry install - name: Check formatting with black run: | - black --check . + poetry run black --check . - name: Check typing annotations with mypy run: | - mypy . + poetry run mypy . - name: Test with pytest run: | - pytest + poetry run pytest