Skip to content

Commit d7f1526

Browse files
author
Philipp Wiesenbach
committed
tests: prune redundant cases and streamline CI scope
1 parent a74b3f2 commit d7f1526

5 files changed

Lines changed: 3 additions & 340 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Run test suite
3939
run: |
4040
export PATH="$HOME/.local/bin:$PATH"
41-
poetry run pytest -q
41+
poetry run pytest -q tests --ignore=tests/integration/test_plugin_discovery.py
4242
- name: Fail if deprecated config keys present
4343
run: |
4444
set -e
@@ -70,7 +70,7 @@ jobs:
7070
- name: Run MLflow smoke tests
7171
run: |
7272
export PATH="$HOME/.local/bin:$PATH"
73-
poetry run pytest -q tests/test_mlflow_integration.py tests/test_runner_mlflow.py tests/test_mlflow_smoke.py tests/test_mlflow_model_logging.py
73+
poetry run pytest -q tests/test_mlflow_integration.py tests/test_runner_mlflow.py tests/test_mlflow_smoke.py
7474
7575
plugin-compat:
7676
name: Plugin compatibility

tests/integration/test_plugin_discovery.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ def test_plugin_entry_points_exist():
2020
plugin_names = {ep.name for ep in entry_points}
2121
print(f"\nFound {len(entry_points)} plugin(s): {plugin_names}")
2222

23-
# Store for other tests
24-
return entry_points
23+
# No return value needed; assertions above validate discovery.
2524

2625

2726
def test_saluki_plugin_registered():

tests/test_gpu_detection.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/test_integration.py

Lines changed: 0 additions & 296 deletions
This file was deleted.

tests/test_mlflow_model_logging.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)