Skip to content

add spacy download to github actions #49

add spacy download to github actions

add spacy download to github actions #49

Workflow file for this run

name: tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install package
run: pip install -e .
- name: Download spacy English resource
run: python3 -m spacy download en_core_web_sm
- name: Save ADS api key
run: |
mkdir ~/.ads
echo ${{ secrets.ADS_API_KEY }} > ~/.ads/dev_key
- name: Test with pytest
run: |
pip install pytest
pytest