Skip to content

Make gensim optional #302

Make gensim optional

Make gensim optional #302

Workflow file for this run

name: Install Package
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.13"]
architecture: [x64]
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} with architecture ${{ matrix.architecture }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
- name: Install package and run tests
run: |
pip install ".[doc2vec]"
pip install pytest
pytest tests -v