Skip to content

Commit

Permalink
test: Use uv to install Meltano (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Jan 15, 2025
1 parent b42ac77 commit 159d89f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/meltano-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,15 @@ jobs:
meltano.yml
poetry.lock
- uses: astral-sh/setup-uv@v5
with:
version: ">=0.5.0"

- name: Install Meltano
env:
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
UV_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
run: |
pipx install --python '${{ steps.setup-python.outputs.python-path }}' meltano
uv tool install --python '${{ steps.setup-python.outputs.python-path }}' meltano
- name: Check Meltano version
run: |
Expand Down
2 changes: 2 additions & 0 deletions meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ version: 1
default_environment: dev
send_anonymous_usage_stats: false
project_id: 33080f0b-2d0f-4fba-b7f1-727bbf080f91
venv:
backend: uv
cli:
log_level: debug

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = [
"poetry-core==1.8.1",
"poetry-dynamic-versioning==1.2",
"poetry-core==1.9.1",
"poetry-dynamic-versioning==1.6",
]

[tool.poetry]
Expand Down

0 comments on commit 159d89f

Please sign in to comment.