diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 39273f800..eb5417c15 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -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: