feat(extensions): support for franka emika panda robot #741
Workflow file for this run
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: Python | |
| on: | |
| workflow_call: | |
| pull_request: | |
| paths: | |
| - "python/**" | |
| - "src/pybind/**" | |
| - ".github/workflows/**" | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| cache: "pip" | |
| - name: Install linting and formatting dependencies | |
| run: python -m pip install -r requirements_dev.txt | |
| - name: Check formatting | |
| run: make pycheckformat | |
| pythonpackage: | |
| runs-on: ubuntu-latest | |
| env: | |
| CC: clang | |
| CXX: clang++ | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install CPP dependencies | |
| run: sudo apt install $(cat debian_deps.txt) | |
| - name: Install virtual frame buffer tool | |
| run: sudo apt install xvfb | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: "pip" | |
| - name: Install building dependencies | |
| run: python -m pip install -r requirements_dev.txt | |
| - name: Install wheel | |
| run: python -m pip install wheel | |
| - name: Install the package | |
| run: python -m pip install --no-build-isolation . | |
| - name: Install the fr3 extension | |
| run: python -m pip install --no-build-isolation extensions/rcs_fr3 | |
| - name: Install the panda extension | |
| run: python -m pip install --no-build-isolation extensions/rcs_panda | |
| - name: Code linting | |
| run: make pylint | |
| - name: Check that stub files are up-to-date | |
| run: make stubgen && git diff --exit-code | |
| - name: Ensure all unittests(pytest) are passing | |
| run: xvfb-run make pytest |