Skip to content

refactor(Task): make _prepare_test_dataset abstract; implement in all… #194

refactor(Task): make _prepare_test_dataset abstract; implement in all…

refactor(Task): make _prepare_test_dataset abstract; implement in all… #194

Workflow file for this run

name: Test workflow

Check failure on line 1 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

(Line: 14, Col: 26): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.temp, (Line: 15, Col: 30): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.temp, (Line: 16, Col: 27): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.temp
on:
push:
jobs:
uv-example:
name: python
runs-on: ubuntu-latest
env:
# HF token is required to avoid 429 rate limits on HF Hub
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HUGGINGFACE_HUB_TOKEN: ${{ secrets.HF_TOKEN }}
HF_DATASETS_CACHE: ${{ runner.temp }}/hf-datasets
HUGGINGFACE_HUB_CACHE: ${{ runner.temp }}/hf-hub
TRANSFORMERS_CACHE: ${{ runner.temp }}/hf-transformers
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Prepare submodules
run: git submodule update --init --recursive
- name: Install the project (dev deps)
run: uv sync --group dev
- name: Run tests (metrics)
run: uv run pytest src/eval_mm/metrics/*.py
- name: Run tests (tasks)
run: uv run pytest src/eval_mm/tasks/*.py
# Optional model smoke; enable when runners have resources
# - name: Run model smoke tests
# run: bash test_model.sh