Update README.md #6
This file contains hidden or 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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| tests: | |
| name: Tests and offline checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install package | |
| run: | | |
| python -m pip install -U pip setuptools wheel | |
| python -m pip install -e ".[dev]" | |
| - name: Run unit tests | |
| run: python -m pytest tests -q | |
| - name: Compile important scripts | |
| run: | | |
| python -m py_compile \ | |
| franka_control/scripts/collect_episodes.py \ | |
| franka_control/scripts/teleop.py \ | |
| franka_control/scripts/run_trajectory.py \ | |
| scripts/play_dataset.py \ | |
| scripts/collect_validation_info.py \ | |
| scripts/check_markdown_links.py | |
| - name: CLI help smoke tests | |
| run: | | |
| python -m franka_control.robot --help | |
| python -m franka_control.gripper --help | |
| python -m franka_control.scripts.teleop --help | |
| python -m franka_control.scripts.collect_episodes --help | |
| python -m franka_control.scripts.collect_waypoints --help | |
| python -m franka_control.scripts.run_trajectory --help | |
| python -m franka_control.scripts.measure_latency --help | |
| python scripts/play_dataset.py --help | |
| python scripts/collect_validation_info.py --help | |
| - name: Check Markdown links | |
| run: python scripts/check_markdown_links.py | |
| - name: Ruff | |
| run: python -m ruff check franka_control scripts tests |