8000 automatic template validation · Issue #8 · l-mds/local-data-stack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

automatic template validation #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 tasks
geoHeil opened this issue Feb 9, 2025 · 0 comments
Open
4 tasks

automatic template validation #8

geoHeil opened this issue Feb 9, 2025 · 0 comments 70D4

Comments

@geoHeil
Copy link
Contributor
geoHeil commented Feb 9, 2025

As a L-MDS contributor, I want to be confident that the improvements I contribute do not break something, so I can add more improvements faster

Acceptance criteria (given when then)

  • set up a CI-CD pipeline for the template project itself
  • include at least a test like the one below to validate that the assets in the template project still load fine
    • scaffold in CI-CD from template
    • run this project loads test

details

Using a unit test similar toL

from code_location_{{ cookiecutter.project_slug }} import defs
from dagster import Definitions


# @pytest.mark.filterwarnings("ignore::dagster.ExperimentalWarning")
def test_project_loads():
    # will raise errors if the project can't load
    # similar to loading a failing project in dagit
    # prevents fatal error in dagit
    Definitions.validate_loadable(defs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0