Skip to content

Commit

Permalink
change test settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jardinetsouffleton committed Sep 23, 2024
1 parent cbc2e05 commit 7101ea5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ jobs:
SNOW_INSTANCE_URL: ${{ secrets.SNOW_INSTANCE_URL }}
SNOW_INSTANCE_UNAME: ${{ secrets.SNOW_INSTANCE_UNAME }}
SNOW_INSTANCE_PWD: ${{ secrets.SNOW_INSTANCE_PWD }}
run: pytest -n 10 --durations=10 -m 'pricy' --slowmo 1800 -v tests
run: pytest -n 5 --durations=10 -m 'pricy' --slowmo 1800 -v tests
6 changes: 3 additions & 3 deletions tests/test_compositional.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@
@pytest.mark.parametrize("task_entrypoint", ALL_COMPOSITIONAL_TASKS)
@pytest.mark.parametrize("random_seed", range(1))
@pytest.mark.parametrize("level", range(2, 4))
@pytest.mark.slow
# @pytest.mark.skip(reason="Tests are too slow")
@pytest.mark.pricy
def test_cheat_compositional(task_entrypoint, random_seed, level, page: Page):
task = task_entrypoint(seed=random_seed, level=level)
goal, info = task.setup(page=page)
Expand All @@ -74,7 +73,8 @@ def test_cheat_compositional(task_entrypoint, random_seed, level, page: Page):
before_sleep=lambda _: logging.info("Retrying due to a TimeoutError..."),
)
@pytest.mark.parametrize("task_entrypoint, seed", zip(AGENT_L2_SAMPLED_TASKS, AGENT_L2_SEEDS))
@pytest.mark.pricy
@pytest.mark.slow
@pytest.mark.skip(reason="Tests are too slow")
def test_cheat_compositional_sampled_agent_set_l2(task_entrypoint, seed, page: Page):
task = task_entrypoint(seed=seed)
goal, info = task.setup(page=page)
Expand Down

0 comments on commit 7101ea5

Please sign in to comment.