Tokenizer refactor #192
Workflow file for this run
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: | |
| pull_request: | |
| jobs: | |
| test: | |
| name: python-tests | |
| runs-on: ubuntu-latest | |
| # strategy: | |
| # matrix: | |
| # python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Read versioning files | |
| id: pyversion | |
| run: echo "version=$(cat .python-version)" >> $GITHUB_OUTPUT | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ steps.pyversion.outputs.version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| # Install a specific version of uv. | |
| version: "0.9.21" | |
| - name: Install dependencies | |
| run: | | |
| uv venv | |
| uv sync --group dev --extra cpu | |
| - name: Run tests | |
| run: | | |
| uv run pytest -m "not slow" |