Skip to content

Commit

Permalink
Do virtualenv with conda
Browse files Browse the repository at this point in the history
  • Loading branch information
btjanaka committed Sep 10, 2023
1 parent faa6566 commit a2ef0e0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,30 +113,29 @@ jobs:
examples:
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 apt-get remove swig
- name: Set up Python 3.8
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: "3.8"
- name: Create virtual env
run: python -m venv ./venv && source ./venv/bin/activate
python-version: 3.8
- name: Install deps
shell: bash -el {0}
run: pip install .[visualize]
- name: Test Examples
shell: bash -el {0}
run: bash tests/examples.sh
tutorials:
runs-on: ubuntu-latest
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 apt-get remove swig
# We use Python 3.10 instead of 3.8 here since Google Colab uses 3.10.
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit a2ef0e0

Please sign in to comment.