Made more accuracy and fixed readme #1
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 | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install package | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[dev]" | |
| - name: Install spaCy model with fallback | |
| run: | | |
| python -m spacy download en_core_web_lg || python -m spacy download en_core_web_sm || true | |
| - name: Run pytest | |
| env: | |
| HALGORITHEM_EMBEDDER: local | |
| run: python -m pytest | |
| - name: Run benchmark | |
| env: | |
| HALGORITHEM_EMBEDDER: local | |
| run: python bench.py |