This repository was archived by the owner on Oct 13, 2025. It is now read-only.
Merge branch 'feature/cluster-2' #319
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: Pytest using UV on PR | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: | |
| - master | |
| - develop | |
| jobs: | |
| build: | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| os: [ubuntu-latest, macos-13, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: run on mac | |
| if: startsWith(matrix.os, 'mac') | |
| run: | | |
| brew install libomp | |
| - name: Install the project | |
| run: | | |
| uv sync --all-extras --dev | |
| uv pip install pip | |
| uv run python -m spacy download en_core_web_sm | |
| - name: Run tests | |
| run: uv run pytest tests |