Skip to content

test-feat(gh actions cache): add caching pip dependencies #292

test-feat(gh actions cache): add caching pip dependencies

test-feat(gh actions cache): add caching pip dependencies #292

Workflow file for this run

name: Unit Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
python -m spacy download en_core_web_sm
pip install -e ."[test]"
- name: Test with pytest
run: |
pytest --verbose