diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4e4ecc..fbadd6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install poetry - run: pipx install poetry + uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439 - uses: ./.github/actions/build - uses: ./.github/actions/build-docs @@ -113,10 +113,11 @@ jobs: Start-Sleep -s 5 ./redis-cli ping + - name: Install poetry + uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439 + - name: Install requirements - run: | - pipx install poetry - poetry install --all-extras + run: poetry install --all-extras - name: Run tests run: make test diff --git a/.github/workflows/manual-publish.yml b/.github/workflows/manual-publish.yml index 307cc2c..461fd1f 100644 --- a/.github/workflows/manual-publish.yml +++ b/.github/workflows/manual-publish.yml @@ -24,7 +24,7 @@ jobs: python-version: 3.8 - name: Install poetry - run: pipx install poetry + uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439 - uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.0 name: 'Get PyPI token' diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5fcc9e4..54abf3d 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -35,7 +35,7 @@ jobs: - name: Install poetry if: ${{ steps.release.outputs.releases_created }} - run: pipx install poetry + uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439 - uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.0 if: ${{ steps.release.outputs.releases_created }} diff --git a/Makefile b/Makefile index e1f2ed7..4598b7e 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,8 @@ install: .PHONY: test test: #! Run unit tests test: install + @poetry run python --version + @poetry run pip list @poetry run pytest $(PYTEST_FLAGS) .PHONY: lint