spec(manipulation/memory): object memory tracker on memory2, propose … #1094
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: ci | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| paths-ignore: | |
| - '**.md' | |
| permissions: | |
| contents: read | |
| packages: read | |
| id-token: write | |
| jobs: | |
| ci-complete: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.draft == false | |
| timeout-minutes: 60 | |
| runs-on: [self-hosted, Linux] | |
| container: | |
| image: ghcr.io/dimensionalos/ros-dev:dev | |
| env: | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | |
| ALIBABA_API_KEY: ${{ secrets.ALIBABA_API_KEY }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| clean: false | |
| - name: Fix permissions | |
| run: | | |
| git config --global --add safe.directory '*' | |
| git clean -ffdx -e .venv | |
| - name: Install Python dependencies | |
| run: uv sync --extra all --frozen | |
| - name: Remove pydrake stubs | |
| run: | | |
| find .venv/lib/*/site-packages/pydrake -name '*.pyi' -delete 2>/dev/null || true | |
| - name: Run tests | |
| run: | | |
| /entrypoint.sh bash -c "source .venv/bin/activate && _DIMOS_COV=1 coverage run -m pytest --junitxml=junit.xml --durations=0 -m 'not (tool or mujoco)' && coverage combine && coverage xml" | |
| - name: Run mypy | |
| if: ${{ !cancelled() }} | |
| run: | | |
| /entrypoint.sh bash -c "source .venv/bin/activate && MYPYPATH=/opt/ros/humble/lib/python3.10/site-packages mypy dimos" | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| disable_search: true | |
| fail_ci_if_error: true | |
| files: ./coverage.xml | |
| use_oidc: true | |
| - name: Upload test results to Codecov | |
| if: ${{ !cancelled() }} | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| report_type: test_results | |
| use_oidc: true | |
| - name: Check disk space | |
| if: failure() | |
| run: | | |
| df -h |