Skip to content

Commit

Permalink
[docs-beta] Add testable code snippets (#23836)
Browse files Browse the repository at this point in the history
This moves our beta docsite code examples into its own folder under
`examples`. See instructions for how to run and test this.

Local testing, buildkite.

NOCHANGELOG
  • Loading branch information
PedramNavid committed Aug 22, 2024
1 parent 747c865 commit df41355
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/docs_beta_snippets/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
packages=find_packages(exclude=["test"]),
install_requires=["dagster-cloud"],
extras_require={
"full": [
"test": [
"pytest",
]
},
Expand Down
6 changes: 3 additions & 3 deletions examples/docs_beta_snippets/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ passenv =
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
# We install local packags to build from master, rather than pinning to a release.
deps =
source: -e ../../python_modules/dagster[test]
source: -e ../../python_modules/dagster-pipes
pypi: dagster[test]
-e ../../python_modules/dagster-graphql
-e ../../python_modules/dagster-webserver
-e ../../python_modules/libraries/dagster-embedded-elt
-e ../../python_modules/libraries/dagster-duckdb-pandas
-e .[full]
-e ../../python_modules/libraries/dagster-embedded-elt
-e .[test]
allowlist_externals =
/bin/bash
uv
Expand Down

0 comments on commit df41355

Please sign in to comment.