mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-01 22:11:25 +00:00
Add python to 3.11 CI (#511)
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.7', '3.8', '3.9', '3.10']
|
||||
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: |
|
||||
|
@@ -65,6 +65,6 @@ repos:
|
||||
language: node
|
||||
pass_filenames: false
|
||||
types: [python]
|
||||
additional_dependencies: ["pyright"]
|
||||
additional_dependencies: ["pyright@1.1.308"]
|
||||
args:
|
||||
- --project=pyproject.toml
|
||||
|
@@ -23,6 +23,12 @@ RUN apt-get -y update \
|
||||
|
||||
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/root/.mujoco/mujoco210/bin"
|
||||
|
||||
# Build mujoco-py from source. Pypi installs wheel packages and Cython won't recompile old file versions in the Github Actions CI.
|
||||
# Thus generating the following error https://github.com/cython/cython/pull/4428
|
||||
RUN git clone https://github.com/openai/mujoco-py.git\
|
||||
&& cd mujoco-py \
|
||||
&& pip install -e .
|
||||
|
||||
COPY . /usr/local/gymnasium/
|
||||
WORKDIR /usr/local/gymnasium/
|
||||
|
||||
|
@@ -84,7 +84,7 @@ all = [
|
||||
]
|
||||
testing = [
|
||||
"pytest ==7.1.3",
|
||||
"scipy ==1.7.3",
|
||||
"scipy >= 1.7.3",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
|
Reference in New Issue
Block a user