Update benchmark_runner_v0.py #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |