Skip to content

Update benchmark_runner_v0.py #47

Update benchmark_runner_v0.py

Update benchmark_runner_v0.py #47

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]