Skip to content

Commit

Permalink
Move deps to ci?
Browse files Browse the repository at this point in the history
  • Loading branch information
btjanaka committed Sep 10, 2023
1 parent 8372a1f commit 764f912
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ jobs:
run: python -m pip install --upgrade pip
- name: Install deps
run: pip install .[visualize]
- name: Install swig deps
run: |
pip install swig
pip install gymnasium[box2d]
- name: Test Examples
run: bash tests/examples.sh
tutorials:
Expand Down
4 changes: 2 additions & 2 deletions tests/examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ fi
function install_deps() {
# Loop through all instances of `pip install` in the script and run the
# installation commands.
pip install swig
pip install gymnasium[box2d]
# pip install swig
# pip install gymnasium[box2d]
# cmd=""
# grep '^\s*pip install' "$1" | while read -r install_cmd ; do
# cmd="${cmd} ${install_cmd} &&"
Expand Down

0 comments on commit 764f912

Please sign in to comment.