Skip to content

SMARTS CI Long Determinism #155

SMARTS CI Long Determinism

SMARTS CI Long Determinism #155

name: SMARTS CI Long Determinism
on:
schedule:
- cron: "0 23 * * 6"
# Time is in UTC
# Runs at 11.00pm, UTC , every Saturday
# Runs at 7.00pm, UTC-4, every Saturday
workflow_dispatch:
env:
venv_dir: .venv
jobs:
test_long_determinism:
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 .[camera_obs,rllib,test,torch,train]
- name: Verify long determinism
run: |
cd $GITHUB_WORKSPACE
. ${{env.venv_dir}}/bin/activate
make test-long-determinism