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