Skip to content

Merge branch spacy-update-1 #262

Merge branch spacy-update-1

Merge branch spacy-update-1 #262

Workflow file for this run

name: Pytest on PR
on:
push:
branches:
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
strategy:
max-parallel: 4
matrix:
python-version: ["3.10"]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: run on mac
if: startsWith(matrix.os, 'mac')
run: |
brew install libomp
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python -m spacy download en_core_web_sm
- name: Test with pytest
run: |
pip install pytest
pytest