Update dockerfile and add uv lockfile #6
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: CI Check for uv lockfile | |
| on: [pull_request, workflow_dispatch] | |
| jobs: | |
| test-uv-lock: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: ["3.13"] | |
| fail-fast: false | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: "auto" | |
| - name: Check lockfile is up to date | |
| run: uv lock --check | |
| - name: Install locked environment | |
| env: | |
| BLIS_ARCH: generic | |
| run: | | |
| uv sync --locked --extra dev | |
| uv run --with spacy spacy download en_core_web_md | |
| - name: Run tests | |
| run: uv run pytest -svv -m "not gcv and not long" |