Skip to content

Stop failing CI tests (#2155) #51

Stop failing CI tests (#2155)

Stop failing CI tests (#2155) #51

name: SMARTS CI Python Version Tests
on:
push:
branches:
- master
env:
venv_dir: .venv
jobs:
install_python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Update requirements
run: |
cd $GITHUB_WORKSPACE
python${{ matrix.python-version }} -m venv ${{env.venv_dir}}
. ${{env.venv_dir}}/bin/activate
pip install --upgrade pip
pip install wheel==0.38.4
pip install .[camera-obs,rllib,sumo,test,torch,train]