Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest simuleval/test/test_agent.py
pytest simuleval/test/test_agent_pipeline.py
pytest simuleval/test/test_evaluator.py
pytest simuleval/test/test_remote_evaluation.py
pytest simuleval/test/test_s2s.py
pytest test/test_agent.py
pytest test/test_agent_pipeline.py
pytest test/test_evaluator.py
pytest test/test_remote_evaluation.py
pytest test/test_s2s.py
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
"examples.*",
"docs",
"docs.*",
"tests",
"tests.*",
]
),
)
2 changes: 1 addition & 1 deletion simuleval/test/test_agent.py → test/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from simuleval.agents.actions import ReadAction, WriteAction
from simuleval.data.segments import TextSegment

ROOT_PATH = Path(__file__).parents[2]
ROOT_PATH = Path(__file__).parents[1]


def test_agent(root_path=ROOT_PATH):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from simuleval.agents.actions import ReadAction, WriteAction
from simuleval.data.segments import TextSegment

ROOT_PATH = Path(__file__).parents[2]
ROOT_PATH = Path(__file__).parents[1]


def test_pipeline_cmd(root_path=ROOT_PATH):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import simuleval.cli as cli

ROOT_PATH = Path(__file__).parents[2]
ROOT_PATH = Path(__file__).parents[1]


def test_score_only(root_path=ROOT_PATH):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import simuleval.cli as cli
from simuleval.utils.functional import find_free_port

ROOT_PATH = Path(__file__).parents[2]
ROOT_PATH = Path(__file__).parents[1]


def p1(port, root_path):
Expand Down
2 changes: 1 addition & 1 deletion simuleval/test/test_s2s.py → test/test_s2s.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from simuleval.agents.actions import ReadAction, WriteAction
from simuleval.data.segments import SpeechSegment

ROOT_PATH = Path(__file__).parents[2]
ROOT_PATH = Path(__file__).parents[1]


def test_s2s(root_path=ROOT_PATH):
Expand Down
2 changes: 1 addition & 1 deletion simuleval/test/test_s2t.py → test/test_s2t.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from simuleval.agents.actions import ReadAction, WriteAction
from simuleval.data.segments import SpeechSegment

ROOT_PATH = Path(__file__).parents[2]
ROOT_PATH = Path(__file__).parents[1]


def test_s2t(root_path=ROOT_PATH):
Expand Down