Fix copy_wandb_run script #3881
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: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| name: Test (full dependencies) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.9.5" | |
| - name: Install dependencies | |
| run: | | |
| # Install all extras (includes training with olmo-core, eval, dev, etc.) | |
| uv sync --locked --all-extras | |
| - name: Run unit/integration tests | |
| run: | | |
| uv run pytest -n auto tests/ | |
| - name: Run model loader tests (with olmo-core) | |
| run: | | |
| uv run pytest -v tests_minimal_deps/ | |
| test-inference-only: | |
| name: Test (inference-only dependencies) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.9.5" | |
| - name: Run model loader tests (without olmo-core) | |
| run: | | |
| # Run with base deps + dev extra (no training = no olmo-core) | |
| uv run --extra dev pytest -v tests_minimal_deps/ |