Skip to content

Commit

Permalink
chore: Do not install poetry in install-dev make target (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar authored Sep 5, 2024
1 parent 0db86e3 commit 6f206db
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/check_async_docstrings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
python-version: 3.8

- name: Install dependencies
run: make install-dev
run: |
pipx install poetry
make install-dev
- name: Check async docstrings
run: make check-async-docstrings
4 changes: 3 additions & 1 deletion .github/workflows/check_version_availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
python-version: "3.8"

- name: Install dependencies
run: make install-dev
run: |
pipx install poetry
make install-dev
- name: Check version availability
run: make check-version-availability
6 changes: 4 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ jobs:
with:
python-version: 3.8

- name: Install Python dependencies
run: make install-dev
- name: Install dependencies
run: |
pipx install poetry
make install-dev
- name: Build generated API reference
run: make build-api-reference
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: make install-dev
run: |
pipx install poetry
make install-dev
- name: Run integration tests
run: make INTEGRATION_TESTS_CONCURRENCY=8 integration-tests
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lint_and_type_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: make install-dev
run: |
pipx install poetry
make install-dev
- name: Run lint
run: make lint
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ jobs:
python-version: 3.8

- name: Install dependencies
run: make install-dev
run: |
pipx install poetry
make install-dev
- # Determine if this is a prerelease or latest release
name: Determine release type
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: make install-dev
run: |
pipx install poetry
make install-dev
- name: Run unit tests
run: make unit-tests
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ clean:
rm -rf .mypy_cache .pytest_cache .ruff_cache build dist htmlcov .coverage

install-dev:
python3 -m pip install --upgrade pip poetry
poetry install --all-extras
poetry run pre-commit install

Expand Down

0 comments on commit 6f206db

Please sign in to comment.