From bac774f3d0e700b50bc77e4acabec7f58ee93ae6 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 21 Apr 2024 12:32:17 -0400 Subject: [PATCH] Re-configure uv (#157) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit that worked 🫡 --- .github/workflows/pr_to_master.yml | 5 ++++- Makefile | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr_to_master.yml b/.github/workflows/pr_to_master.yml index 066cd036..1fd45be8 100644 --- a/.github/workflows/pr_to_master.yml +++ b/.github/workflows/pr_to_master.yml @@ -13,6 +13,9 @@ jobs: steps: - name: Check out uses: actions/checkout@master + + - name: Set up Python + uses: actions/setup-python@v2 with: python-version: '3.11' @@ -20,4 +23,4 @@ jobs: run: make build - name: build pipeline - run: make run \ No newline at end of file + run: make run diff --git a/Makefile b/Makefile index cb26c2a6..7a5cf06b 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ install-uv: - sudo pip install uv - sudo uv pip install --system -r requirements.txt + pip install uv + uv pip install --system -r requirements.txt build: install-uv - cd transform && sudo dbt deps + cd transform && dbt deps cd evidence && npm install mkdir -p data/data_catalog/raw mkdir -p data/data_catalog/prep @@ -12,7 +12,7 @@ build: install-uv run: cd dlt && python3 nba_pipeline.py - cd transform && sudo dbt build + cd transform && dbt build cd evidence && npm run sources dev: