Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Nov 12, 2024
1 parent d775f6b commit cc9752a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ jobs:
experimental: true
- python-version: '3.12'
poetry-version: '1.8.4'
experimental: false
unlocked: true
- python-version: '3.13'
poetry-version: '1.8.4'
experimental: false
unlocked: true
steps:
- uses: actions/checkout@v4
Expand All @@ -70,6 +68,5 @@ jobs:
pipx install ${{ startsWith(matrix.poetry-version, 'git') && matrix.poetry-version || format('poetry=={0}', matrix.poetry-version) }}
pipx install invoke
poetry install
poetry run pip install ${{ startsWith(matrix.poetry-version, 'git') && matrix.poetry-version || format('poetry=={0}', matrix.poetry-version) }}
poetry install --extras plugin
invoke test --pipx
4 changes: 2 additions & 2 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def install_plugin(artifact: str) -> None:
pipx = os.environ.get("POETRY_DYNAMIC_VERSIONING_TEST_INSTALLATION") == "pipx"

if pipx:
run(f'pipx inject poetry "{artifact}"')
run(f'pipx inject poetry "{artifact}[plugin]"')
else:
run(f'poetry self add "{artifact}"')
run(f'poetry self add "{artifact}[plugin]"')


def uninstall_plugin() -> None:
Expand Down

0 comments on commit cc9752a

Please sign in to comment.