-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (29 loc) · 1.1 KB
/
Copy pathMakefile
File metadata and controls
42 lines (29 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
uv_install:
pip install uv
uv_venv:
if [ ! -d ".venv" ]; then uv venv; fi
test_install: uv_venv
uv sync --extra tests
dev_install: uv_install uv_venv
uv sync --extra dev --prerelease=allow
cd dagster_open_platform_dbt && uv run dbt deps && cd ..
test: test_install
uv run pytest dagster_open_platform_tests -m "not env_bk" --disable-warnings
test_full: test_install
@DOP_PYTEST_FULL=1 uv run pytest dagster_open_platform_tests -m "not env_bk" --disable-warnings
update_snapshot: test_install
@DOP_PYTEST_FULL=1 uv run pytest --snapshot-update dagster_open_platform_tests -k "snapshot" --disable-warnings
test_snapshot: test_install
@DOP_PYTEST_FULL=1 uv run pytest dagster_open_platform_tests -k "snapshot" --disable-warnings -vvvx
manifest: uv_venv
cd dagster_open_platform_dbt && uv run dbt deps && uv run dbt parse && cd ..
dev:
uv run dg dev
lint:
sqlfluff lint ./dagster_open_platform_dbt/models --disable-progress-bar --processes 4
fix:
sqlfluff fix ./dagster_open_platform_dbt/models --disable-progress-bar --processes 4
install_ruff:
$(MAKE) -C ../.. install_ruff
ruff:
$(MAKE) -C ../.. ruff