From fc0168f26ea6bd2e31ecfc9f44062e42801b45e5 Mon Sep 17 00:00:00 2001 From: juztamau5 Date: Sun, 10 Mar 2024 12:41:36 -0700 Subject: [PATCH] testing6 --- .github/workflows/python.yml | 6 +++--- src/learning/test/conftest.py | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index f72e94e3..4bdd5db3 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -26,9 +26,9 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-latest + - os: ubuntu-20.04 python-version: '3.10' - - os: ubuntu-latest + - os: ubuntu-22.04 python-version: '3.11' steps: @@ -40,7 +40,7 @@ jobs: uses: actions/cache@v4 with: path: openai - key: ${{ runner.os }}-cache-openai-${{ matrix.python-version }}-${{ hashFiles('openai/**') }} + key: cache-openai-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('openai/**') }}- - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/src/learning/test/conftest.py b/src/learning/test/conftest.py index 6fc87fe5..94afe1a0 100644 --- a/src/learning/test/conftest.py +++ b/src/learning/test/conftest.py @@ -45,3 +45,9 @@ print( "OpenAI directory not found. Please build OpenAI files first: cmake . && make -j" ) + +# Initialize the OpenAI module +import retro.data +from retro._retro import core_path + +retro.data.init_core_info(core_path())