Skip to content

Commit

Permalink
Tidy up swig removal
Browse files Browse the repository at this point in the history
  • Loading branch information
btjanaka committed Sep 10, 2023
1 parent 4bbdd3d commit b1d058f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# SWIG should not be installed so that we can test that lunar lander is
# installing SWIG properly. See https://github.com/icaros-usc/pyribs/pull/366
- name: Remove swig
run: sudo rm -rf /usr/bin/swig
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Remove swig
run: sudo rm -rf /usr/bin/swig
- name: Install deps
run: pip install .[visualize]
- name: Test Examples
Expand All @@ -131,6 +133,10 @@ jobs:
steps:
# We use Python 3.10 instead of 3.8 here since Google Colab uses 3.10.
- uses: actions/checkout@v4
# SWIG should not be installed so that we can test that lunar lander is
# installing SWIG properly. See https://github.com/icaros-usc/pyribs/pull/366
- name: Remove swig
run: sudo rm -rf /usr/bin/swig
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit b1d058f

Please sign in to comment.