Skip to content

Fix GitHub Actions dependencies #3

Fix GitHub Actions dependencies

Fix GitHub Actions dependencies #3

Workflow file for this run

name: tests
on:
push:
pull_request:
jobs:
lightweight:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install CPU PyTorch for checkpoint tests
run: >-
python -m pip install "torch>=2.1,<2.10"
--index-url https://download.pytorch.org/whl/cpu
- name: Install VisionCart test and web dependencies
run: python -m pip install -e ".[dev,web]"
- run: python -m compileall -q src scripts app.py tools
- run: pytest -q