Skip to content

Commit

Permalink
add ci to run the example rollout
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwandavek committed May 17, 2024
1 parent 0ee669a commit 35d09f3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test-drive controller

on:
push:
branches:
- master
workflow_dispatch:

jobs:
run-script:
runs-on: ubuntu-20.04

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Download dataset
run: |
bash ./download_dataset.sh
- name: Run Simple controller rollout
run: |
python tinyphysics.py --model_path ./models/tinyphysics.onnx --data_path ./data/00000.csv --controller simple

0 comments on commit 35d09f3

Please sign in to comment.