Skip to content

Commit

Permalink
Merge pull request #43 from linkml/fix-actions
Browse files Browse the repository at this point in the history
fixing github actions.
  • Loading branch information
linkmluser authored Mar 8, 2025
2 parents fd0cf1d + ec61006 commit 0057342
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python 3.
uses: actions/setup-python@v4
with:
python-version: 3.10
python-version: "3.10"

- name: Install Poetry
uses: snok/install-poetry@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.10
python-version: "3.10"
cache: pip
cache-dependency-path: '**/pyproject.toml'

Expand Down
3 changes: 2 additions & 1 deletion tests/test_inference/test_sklearn_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def test_inference_basic():
config = InferenceConfig(target_attributes=["species"], feature_attributes=features)
ie = get_inference_engine("sklearn", config=config)
assert isinstance(ie.config, InferenceConfig)
ie.load_and_split_data(collection)
# don't randomize split as this makes test non-deterministic
ie.load_and_split_data(collection, randomize=False)
ie.initialize_model()
assert isinstance(ie, SklearnInferenceEngine)
assert set(ie.encoders.keys()) == {"species"}
Expand Down

0 comments on commit 0057342

Please sign in to comment.