File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 java-version : 17
3333 distribution : " zulu"
3434 - name : Install the project
35- run : uv sync --locked --group dev-spark --no-dev
35+ run : uv sync --locked --group dev-spark
3636 - name : Run code checks
3737 run : uv run --no-dev ruff check
3838 - name : Check code formatting
6464 with :
6565 version : 0.280.0
6666 - name : Install the project
67- run : uv sync --locked
67+ run : uv sync --locked --group dev
6868 - name : Check Databricks CLI
6969 run : databricks current-user me
7070 - name : Run tests
Original file line number Diff line number Diff line change 3434 with :
3535 version : 0.280.0
3636 - name : Install the project
37- run : uv sync --locked
37+ run : uv sync --locked --group dev
3838 - name : Check Databricks CLI
3939 run : databricks current-user me
4040 - name : Log Bundle Changes
Original file line number Diff line number Diff line change 3535 with :
3636 version : 0.280.0
3737 - name : Install the project
38- run : uv sync --locked
38+ run : uv sync --locked --group dev
3939 - name : Check Databricks CLI
4040 run : databricks current-user me
4141 - name : Log Bundle Changes
Original file line number Diff line number Diff line change 3333 with :
3434 version : 0.280.0
3535 - name : Install the project
36- run : uv sync --locked
36+ run : uv sync --locked --group dev
3737 - name : Check Databricks CLI
3838 run : databricks current-user me
3939 - name : Validate Databricks Bundle
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ This repo uses Databricks CLI to deploy a Databricks Asset Bundle.
1010- ` tests ` : Unit tests for the Python project
1111
1212 ## Setup commands
13- - Install deps: ` uv sync --locked --group dev-spark --no-dev `
14- - Run code checks: ` uv run --no-dev ruff check `
15- - Check code formatting: ` uv run --no-dev ruff format --check `
16- - Run tests: ` uv run --no-dev pytest -v `
13+ - Install deps: ` uv sync --locked --group dev-spark `
14+ - Run code checks: ` uv run ruff check `
15+ - Check code formatting: ` uv run ruff format --check `
16+ - Run tests: ` uv run pytest -v `
1717
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ A script exists to set up the Workspace (Free Edition) as described in the [Setu
5151
5252Sync ` uv ` environment with ` dev ` (includes databricks-connect) dependencies:
5353``` bash
54- uv sync --locked
54+ uv sync --locked --group dev
5555```
5656
57- > ** Note:** For local Spark use ` uv sync --group dev-spark --no-dev ` instead.
57+ > ** Note:** For local Spark use ` uv sync --locked -- group dev-spark ` instead.
5858
5959#### (Optional) Activate virtual environment
6060
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ dab-project = "dab_project.cli:main"
5757[[tool .mypy .overrides ]]
5858ignore_missing_imports = true
5959
60+ [tool .uv ]
61+ # disable 'dev' as default group as we have 'dev' and 'dev-spark' environments
62+ default-groups = []
63+
6064[tool .ruff ]
6165line-length = 100
6266include = [
You can’t perform that action at this time.
0 commit comments