Skip to content

SMARTS CI Learning #172

SMARTS CI Learning

SMARTS CI Learning #172

name: SMARTS CI Learning
on:
schedule:
- cron: "0 23 * * 2"
# Time is in UTC
# Runs at 11.00pm, UTC , every Tuesday
# Runs at 7.00pm, UTC-4, every Tuesday
workflow_dispatch:
env:
venv_dir: .venv
jobs:
test_learning:
runs-on: ubuntu-20.04
container: ghcr.io/smarts-project/smarts:v0.6.1-minimal
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: master
- name: Setup package
run: |
cd $GITHUB_WORKSPACE
python3.8 -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,test,torch,train]
- name: Verify learning
run: |
cd $GITHUB_WORKSPACE
. ${{env.venv_dir}}/bin/activate
make test-learning