Skip to content

Commit

Permalink
fix components docs test (#27560)
Browse files Browse the repository at this point in the history
## Summary

#27501 introduced a change where we must pass the working directory to
`dagster assets materialize` - adds that to our dg docs tests
  • Loading branch information
benpankow authored Feb 4, 2025
1 parent 15a804e commit f1095cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def next_snip_no():
""",
)
_run_command(
"dagster asset materialize --select '*' -m jaffle_platform.definitions"
"dagster asset materialize --select '*' -d . -m jaffle_platform.definitions"
)
run_command_and_snippet_output(
cmd='duckdb /tmp/jaffle_platform.duckdb -c "SELECT * FROM raw_customers LIMIT 5;"',
Expand Down Expand Up @@ -291,7 +291,7 @@ def next_snip_no():

# Run dbt, check works
_run_command(
"DAGSTER_IS_DEV_CLI=1 dagster asset materialize --select '*' -m jaffle_platform.definitions"
"DAGSTER_IS_DEV_CLI=1 dagster asset materialize --select '*' -d . -m jaffle_platform.definitions"
)
run_command_and_snippet_output(
cmd='duckdb /tmp/jaffle_platform.duckdb -c "SELECT * FROM orders LIMIT 5;"',
Expand Down

0 comments on commit f1095cd

Please sign in to comment.