Gensim removal #338
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: Code Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.11"] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Set up venv | |
| run: uv venv | |
| - name: Install Base Dependencies | |
| run: | | |
| uv pip install -e '.[dev]' | |
| uv pip install -e '.[sbert]' | |
| - name: Prep CI tests | |
| run: | | |
| mkdir -p ~/.cache/bpemb/en | |
| mv tests/data/en.wiki.bpe.vs1000.d25.w2v.bin ~/.cache/bpemb/en | |
| mv tests/data/en.wiki.bpe.vs1000.model ~/.cache/bpemb/en | |
| - name: Unittest | |
| run: uv run pytest -n auto -vv |