Skip to content

Documentation facelift #19

Documentation facelift

Documentation facelift #19

name: pytest-with-asdfghjkl
on: pull_request
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up uv
run: curl -LsSf https://astral.sh/uv/0.3.0/install.sh | sh
- name: Set up Python
run: uv python install 3.9
- name: Install the project
run: |
uv venv && source .venv/bin/activate
uv pip install --index-url https://download.pytorch.org/whl/cpu torch==2.4.0+cpu torchvision==0.19.0+cpu torchaudio==2.4.0+cpu
uv pip install -r pyproject.toml --extra dev --override uv_overrides.txt
- name: Install the old asdfghjkl
run: uv pip install git+https://git@github.com/wiseodd/asdl@asdfghjkl
- name: Test with pytest
run: |
source .venv/bin/activate
python3 -m pytest tests