Skip to content

small edit to 'LLM-generated' #85

small edit to 'LLM-generated'

small edit to 'LLM-generated' #85

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
test:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Cache pip dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: pip-deps-${{ runner.os }}-${{ hashFiles('requirements.txt') }}
restore-keys: |
pip-deps-${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Download spaCy model
run: python -m spacy download en_core_web_sm
- name: Run tests
run: |
pytest tests