Skip to content

Commit 7101ea5

Browse files
change test settings
1 parent cbc2e05 commit 7101ea5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ jobs:
131131
SNOW_INSTANCE_URL: ${{ secrets.SNOW_INSTANCE_URL }}
132132
SNOW_INSTANCE_UNAME: ${{ secrets.SNOW_INSTANCE_UNAME }}
133133
SNOW_INSTANCE_PWD: ${{ secrets.SNOW_INSTANCE_PWD }}
134-
run: pytest -n 10 --durations=10 -m 'pricy' --slowmo 1800 -v tests
134+
run: pytest -n 5 --durations=10 -m 'pricy' --slowmo 1800 -v tests

tests/test_compositional.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
@pytest.mark.parametrize("task_entrypoint", ALL_COMPOSITIONAL_TASKS)
4949
@pytest.mark.parametrize("random_seed", range(1))
5050
@pytest.mark.parametrize("level", range(2, 4))
51-
@pytest.mark.slow
52-
# @pytest.mark.skip(reason="Tests are too slow")
51+
@pytest.mark.pricy
5352
def test_cheat_compositional(task_entrypoint, random_seed, level, page: Page):
5453
task = task_entrypoint(seed=random_seed, level=level)
5554
goal, info = task.setup(page=page)
@@ -74,7 +73,8 @@ def test_cheat_compositional(task_entrypoint, random_seed, level, page: Page):
7473
before_sleep=lambda _: logging.info("Retrying due to a TimeoutError..."),
7574
)
7675
@pytest.mark.parametrize("task_entrypoint, seed", zip(AGENT_L2_SAMPLED_TASKS, AGENT_L2_SEEDS))
77-
@pytest.mark.pricy
76+
@pytest.mark.slow
77+
@pytest.mark.skip(reason="Tests are too slow")
7878
def test_cheat_compositional_sampled_agent_set_l2(task_entrypoint, seed, page: Page):
7979
task = task_entrypoint(seed=seed)
8080
goal, info = task.setup(page=page)

0 commit comments

Comments
 (0)