From 0eda13c3d6d4d197cd6896993c2d7fe0a1f8d137 Mon Sep 17 00:00:00 2001 From: Geo Date: Fri, 15 Sep 2023 23:30:01 +0100 Subject: [PATCH] chore: update GH Action to migrate from pipenv to Poetry --- .github/workflows/test.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0233bc0..22a6b34 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,21 +16,21 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + - name: Install Poetry + uses: snok/install-poetry@v1 - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install pipenv - pipenv install --dev -e . + poetry install - name: Lint with flake8 run: | - pipenv run flake8 . --count --show-source --statistics + poetry run flake8 . --count --show-source --statistics - name: Test with pytest run: | - pipenv run pytest + poetry run pytest - name: Formatting checks run: | - pipenv run isort --profile black --diff . - pipenv run black --check . + poetry run isort --profile black --diff . + poetry run black --check . # - name: Report Coverage # if: matrix.python-version == '3.11' # uses: codecov/codecov-action@v3