Skip to content

Commit

Permalink
switch to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
dwreeves committed Jan 7, 2025
1 parent e79146e commit 2f8db62
Show file tree
Hide file tree
Showing 6 changed files with 1,411 additions and 2,709 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,8 @@ jobs:
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.0
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Run Clickhouse
if: ${{ matrix.db_target == 'clickhouse' }}
run: |
Expand All @@ -54,7 +47,7 @@ jobs:
sudo apt-get install
chmod +x ./run
./run setup
pip install -U "dbt-core==$DBT_CORE_VERSION" "dbt-${DBT_TARGET}"
uv pip install -U "dbt-core==$DBT_CORE_VERSION" "dbt-${DBT_TARGET}"
env:
DBT_CORE_VERSION: ${{ matrix.dbt_core }}
DBT_TARGET: ${{ matrix.db_target }}
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.4
3.12
Loading

0 comments on commit 2f8db62

Please sign in to comment.