Skip to content

Commit

Permalink
Modify ci.yml
Browse files Browse the repository at this point in the history
Fix ci.yml

Fix ci.yml

Fix ci.yml

Fix ci.yml

Fix ci.yml

Fix ci.yml

Fix ci.yml

Fix ci.yml

Fix ci.yml
  • Loading branch information
taku-y committed Apr 25, 2024
1 parent 05b75fe commit a3c23c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [1.70.0]
python-version: [3.8]
rust: [1.76.0]
python-version: ["3.11"]
steps:
- uses: actions/checkout@v2

Expand All @@ -40,15 +40,19 @@ jobs:
- if: matrix.os == 'ubuntu-latest'
name: Install gym (Ubuntu)
run: |
pip install --upgrade pip
pip install swig==4.2.1
pip install mujoco==2.3.7
pip install gymnasium[box2d]==0.29.0
pip install gymnasium==0.29.1
pip install gymnasium-robotics==1.2.2
pip install pybullet==3.2.5
- if: matrix.os != 'ubuntu-latest'
name: Install gym (Windows/Mac)
run: |
pip install gymnasium[box2d]==0.29.0
pip install --upgrade pip
pip install swig==4.2.1
pip install gymnasium==0.29.1
pip install pybullet==3.2.5
- if: matrix.os == 'ubuntu-latest'
Expand Down Expand Up @@ -83,7 +87,7 @@ jobs:
libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev \
libsdl2-dev libsdl-image1.2-dev
cargo test --example dqn_cartpole_tch --features=tch
# cargo test --example iqn_cartpole --features=tch
cargo test --example iqn_cartpole_tch --features=tch
cargo test --example sac_pendulum_tch --features=tch
cargo test --example dqn_cartpole --features=candle-core
cargo test --example sac_pendulum --features=candle-core
2 changes: 1 addition & 1 deletion border-py-gym-env/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test = true

[[example]]
name = "random_lunarlander_cont"
test = true
test = false # due to box2d installation issue in github action

[[example]]
name = "random_fetch_reach"
Expand Down

0 comments on commit a3c23c7

Please sign in to comment.