Publish wandb reports, update nightly runs #119
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: Static Checks | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| jobs: | |
| run-checks: | |
| name: Run Checks | |
| runs-on: codebuild-holosoma-cpu-build-${{ github.run_id }}-${{ github.run_attempt }} | |
| container: | |
| image: 982423663241.dkr.ecr.us-west-2.amazonaws.com/holosoma:latest | |
| volumes: | |
| - "precommit-cache:/github/home/.cache/pre-commit" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 5 | |
| - name: Static Checks | |
| shell: bash | |
| run: | | |
| ln -s /root/.holosoma_deps "$HOME/.holosoma_deps" | |
| if [[ ! -L /workspace/holosoma ]]; then | |
| rm -rf /workspace/holosoma | |
| ln -sfF "$GITHUB_WORKSPACE" /workspace/holosoma | |
| fi | |
| source scripts/source_isaacsim_setup.sh | |
| pip install pre-commit mypy slack-sdk wandb-workspaces | |
| # manually mark as typed until https://github.com/wandb/wandb-workspaces/issues/131 resolved | |
| WS_PKG=$(python3 -c "import wandb_workspaces as ws; print(ws.__file__)" | xargs dirname) | |
| touch "$WS_PKG/py.typed" | |
| git fetch origin "${GITHUB_BASE_REF:-main}" | |
| git fetch origin "${GITHUB_SHA}" | |
| pre-commit install-hooks | |
| git diff --name-only "origin/${GITHUB_BASE_REF:-main}" "${GITHUB_SHA}" -- | |
| git diff --name-only "origin/${GITHUB_BASE_REF:-main}" "${GITHUB_SHA}" -- | xargs pre-commit run --files | |
| git diff "origin/${GITHUB_BASE_REF:-main}" "${GITHUB_SHA}" | |
| mypy . |