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