Skip to content

Commit

Permalink
Back-port a few minor changes from releases/2.0
Browse files Browse the repository at this point in the history
Mainly to avoid future merge conflicts
  • Loading branch information
ishaaq committed Aug 27, 2024
1 parent fe893ff commit e3ad7ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ on:
push:
branches:
- main
- releases/*
pull_request:
branches:
- main
- releases/*


jobs:
Expand All @@ -28,4 +30,4 @@ jobs:
run: pip install tox==3.26

- name: Run UnitTests
run: tox -e gh-workflows
run: tox -e gh-workflows
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class SbertTestModelProperties(ModelProperties):
type: ModelType = ModelType.test
tokens: int
notes: str = ""
text_query_prefix = ""
text_chunk_prefix = ""
text_query_prefix: str = ""
text_chunk_prefix: str = ""

@classmethod
def get_all_model_properties_objects(cls) -> Dict[str, T]:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ deps =
setenv =
PYTHONPATH={toxinidir}
commands =
pytest {posargs}
pytest {posargs}

0 comments on commit e3ad7ea

Please sign in to comment.