From 22bde75cb340f8cc514e4648da4c767b44d6ad80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Alexandre=20C=C3=B4t=C3=A9?= Date: Wed, 16 Oct 2024 15:39:20 -0400 Subject: [PATCH] Update Github Action --- .github/workflows/tests.yaml | 4 ++-- tests/test_scienceworld.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c0ba9a3..4525025 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -53,9 +53,9 @@ jobs: path: scienceworld/ - name: Install dependencies - run: + run: | python -m pip install --upgrade pip - pip install tox tox-gh-actions + python -m pip install tox tox-gh-actions - name: Install ScienceWorld run: diff --git a/tests/test_scienceworld.py b/tests/test_scienceworld.py index f6a6a97..67c3b73 100644 --- a/tests/test_scienceworld.py +++ b/tests/test_scienceworld.py @@ -49,7 +49,7 @@ def test_closing_env(): env.task_names # Load task names. assert env._gateway.java_process.poll() is None env.close() - env._gateway.java_process.wait(1) + env._gateway.java_process.wait(5) assert env._gateway.java_process.poll() is not None