Skip to content

Commit 9acc835

Browse files
deployment
1 parent a675f6c commit 9acc835

4 files changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/branch_deployments.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
pip install dbt-core dbt-duckdb
6666
cd project-repo/macro_agents/dbt_project
6767
dbt deps || true
68-
dbt parse --target prod || dbt parse
68+
dbt parse
6969
7070
- name: Python Executable Deploy
7171
if: steps.prerun.outputs.result == 'pex-deploy'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Install dependencies with uv
3535
run: |
3636
cd macro_agents
37-
uv sync --dev
37+
uv sync --extra dev
3838
3939
- name: Lint with ruff
4040
continue-on-error: true

.github/workflows/deploy.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,7 @@ jobs:
6868
pip install dbt-core dbt-duckdb
6969
cd project-repo/macro_agents/dbt_project
7070
dbt deps || true
71-
dbt parse --target prod || dbt parse
72-
env:
73-
MOTHERDUCK_PROD_SCHEMA: ${{ secrets.MOTHERDUCK_PROD_SCHEMA }}
74-
MOTHERDUCK_DATABASE: ${{ secrets.MOTHERDUCK_DATABASE }}
75-
MOTHERDUCK_TOKEN: ${{ secrets.MOTHERDUCK_TOKEN }}
76-
DBT_TARGET: prod
71+
dbt parse
7772
7873
- name: Python Executable Deploy
7974
if: steps.prerun.outputs.result == 'pex-deploy'

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ fix:
99
sqlfluff fix ./dbt_project/models --disable-progress-bar --processes 4
1010

1111
test:
12-
cd macro_agents && uv sync && source .venv/bin/activate && python -m pytest tests/ -v
12+
cd macro_agents && uv sync --extra dev && uv run pytest tests/ -v
1313

1414
dbt-manifest:
1515
cd dbt_project && dbt parse
1616

1717
pre-pr:
1818
@echo "Running pre-PR checks..."
1919
@echo "1. Installing dependencies..."
20-
cd macro_agents && uv sync && source .venv/bin/activate && pip install -e .[dev] pytest-cov pytest-xdist mypy bandit safety
20+
cd macro_agents && uv sync --extra dev && uv pip install pytest-cov pytest-xdist mypy bandit safety
2121
@echo "2. Running ruff linting..."
2222
cd macro_agents && source .venv/bin/activate && ruff check macro_agents/
2323
@echo "3. Running ruff formatting check..."

0 commit comments

Comments
 (0)