diff --git a/.github/workflows/run-example.yml b/.github/workflows/run-example.yml index cc7d13fc..fb526595 100644 --- a/.github/workflows/run-example.yml +++ b/.github/workflows/run-example.yml @@ -8,7 +8,6 @@ on: branches: - main - jobs: run-example: name: Test / Run Example @@ -17,8 +16,6 @@ jobs: os: - "ubuntu-22.04" - "ubuntu-latest" - python: - - "3.8" runs-on: ${{ matrix.os }} steps: @@ -27,10 +24,10 @@ jobs: with: submodules: true - - name: Set up Python ${{ matrix.python }} + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python }} + python-version-file: .python-version - name: Install Poetry run: | @@ -43,13 +40,13 @@ jobs: - name: Install Python Dependencies and Build Evolution Gym run: | - poetry env use ${{ matrix.python }} + echo "Python Version: $(python --version)" poetry install --no-root - poetry build + poetry build && poetry run python setup.py install - name: Run Example run: | cd examples - python gym_test.py + poetry run python gym_test.py diff --git a/.python-version b/.python-version index 143c2f5d..9ad6380c 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.8.19 +3.8.18 diff --git a/poetry.lock b/poetry.lock index 7cdb69b2..d42b758a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1173,5 +1173,5 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" -python-versions = "3.8.19" -content-hash = "4b0e62e2383403287d8117f0d1adfc89fe81eb0da9abd24fa4311f1a532b2169" +python-versions = "3.8.18" +content-hash = "3da19ccd946cb5477909628f9f7750ddab880b1499b8f785b8670c30b1f0af43" diff --git a/pyproject.toml b/pyproject.toml index 3902eb14..c385eb2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ license = "MIT" readme = "README.md" [tool.poetry.dependencies] -python = "3.8.19" +python = "3.8.18" glfw = "^2.5.0" gym = "^0.22.0" h5py = "^3.6.0"