chore: dataloader tests (nuscenes, mimicgen, yaak) (#16) #71
This file contains 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] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: setup ssh | |
uses: webfactory/ssh-agent@v0.9.0 | |
with: | |
ssh-private-key: ${{ secrets.YAAK_IDL_REPO_SSH_KEY }} | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
persist-credentials: false | |
lfs: true | |
- name: git lfs checkout | |
run: git lfs checkout | |
- name: setup just | |
uses: extractions/setup-just@v2 | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "pyproject.toml" | |
- name: setup ytt | |
uses: carvel-dev/setup-action@v2 | |
with: | |
only: ytt | |
- name: setup uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: "latest" | |
enable-cache: true | |
cache-dependency-glob: "**/pyproject.toml" | |
- name: sync | |
run: just sync | |
- name: build protos | |
run: just build-protos | |
- name: format | |
run: just format --check | |
- name: lint | |
run: just lint | |
- name: typecheck | |
run: just typecheck | |
- name: test | |
run: just test |