Skip to content

[SCRAPER]: Initial implementation #214

[SCRAPER]: Initial implementation

[SCRAPER]: Initial implementation #214

Workflow file for this run

name: Jac_nlp Tests
on:
push:
branches: [ main ]
paths:
- jaseci_ai_kit/jac_nlp/**
pull_request:
branches: [ main ]
paths:
- jaseci_ai_kit/jac_nlp/**
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Set swap space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 5
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libsndfile1 ffmpeg
sudo apt-get install -y espeak-ng
python -m pip install --upgrade pip
- name: Install jaseci_core
run: |
cd jaseci_core
pip install -e .
cd ..
- name: Install jac_nlp
run: |
cd jaseci_ai_kit/jac_nlp
pip install -e .[all]
- name: Verify jac_nlp installation
run: |
python -c "import jac_nlp"
- name: Run tests
run: |
cd jaseci_ai_kit/jac_nlp
source ../test.sh