Skip to content

Commit

Permalink
run DagsterModel tests in buildkite (#21424)
Browse files Browse the repository at this point in the history
## Summary & Motivation

## How I Tested These Changes
  • Loading branch information
sryza authored Apr 25, 2024
1 parent c8f17fa commit ed9c92a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ def _unsupported_dagster_python_versions(tox_factor: Optional[str]) -> List[Avai
"cli_tests",
"core_tests_pydantic1",
"core_tests_pydantic2",
"model_tests_pydantic1",
"model_tests_pydantic2",
"storage_tests_sqlalchemy_1_3",
"storage_tests_sqlalchemy_1_4",
"daemon_sensor_tests",
Expand Down
4 changes: 4 additions & 0 deletions python_modules/dagster/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ deps =
general_tests_old_protobuf: protobuf<4
core_tests_pydantic1: pydantic!=1.10.7,<2.0.0
core_tests_pydantic2: pydantic>=2.0.0
model_tests_pydantic1: pydantic!=1.10.7,<2.0.0
model_tests_pydantic2: pydantic>=2.0.0
type_signature_tests: pydantic!=1.10.7,<2.0.0
-e ../dagster-test
-e .[mypy,test,pyright]
Expand All @@ -40,6 +42,8 @@ commands =
core_tests_pydantic1: pytest -c ../../pyproject.toml -vv ./dagster_tests/core_tests {env:COVERAGE_ARGS} --durations 10 {posargs}
core_tests_pydantic2: pytest -c ../../pyproject.toml -vv ./dagster_tests/core_tests {env:COVERAGE_ARGS} --durations 10 {posargs}
type_signature_tests: pytest -c ../../pyproject.toml -vv ./dagster_tests/core_tests {env:COVERAGE_ARGS} --durations 10 {posargs} -m 'typesignature'
model_tests_pydantic1: pytest -c ../../pyproject.toml -vv ./dagster_tests/model_tests {env:COVERAGE_ARGS} --durations 10 {posargs}
model_tests_pydantic2: pytest -c ../../pyproject.toml -vv ./dagster_tests/model_tests {env:COVERAGE_ARGS} --durations 10 {posargs}
storage_tests: pytest -c ../../pyproject.toml -vv ./dagster_tests/storage_tests {env:COVERAGE_ARGS} --durations 10 {posargs}
definitions_tests: pytest -c ../../pyproject.toml -vv ./dagster_tests/definitions_tests {env:COVERAGE_ARGS} --durations 10 {posargs}
definitions_tests_pendulum_1: pytest -c ../../pyproject.toml -vv ./dagster_tests/definitions_tests {env:COVERAGE_ARGS} --durations 10 {posargs}
Expand Down

0 comments on commit ed9c92a

Please sign in to comment.