File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff line change 99 sqlfluff fix ./dbt_project/models --disable-progress-bar --processes 4
1010
1111test :
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
1414dbt-manifest :
1515 cd dbt_project && dbt parse
1616
1717pre-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..."
You can’t perform that action at this time.
0 commit comments