Skip to content

Added test script for gripper rotate. #18

Added test script for gripper rotate.

Added test script for gripper rotate. #18

Workflow file for this run

name: Generate Documents with pdoc
on:
push:
branches:
- main
- hackathon
jobs:
setup-python:
name: Generate Documentations
runs-on: ubuntu-22.04
permissions: # Job-level permissions configuration starts here
contents: write # 'write' access to repository contents
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0 # Ensures history is available for pushing changes
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Set this to your Python version
- name: install-rcareworld
run: |
cd ./pyrcareworld
pip install -r requirements.txt
pip install -e .
cd ../
- name: Install pdoc
run: |
pip install pdoc3
pdoc --skip-errors --html pyrcareworld -o docs
- name: Commit Documentation
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add docs/*
git commit -m "Update documentation" || echo "No changes to commit"
- name: Push Changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}