Skip to content

Docs updated

Docs updated #73

Workflow file for this run

name: pytest
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
steps:
- name: Set up Python
uses: actions/checkout@v4
with:
python-version: ${{ matrix.python-version }}
- name: Clean Python cache files
run: |
find . -type f -name "__pycache__" -exec rm -r {} +
find . -type f -name "*.pyc" -exec rm -f {} +
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python -c "import nltk; nltk.download('wordnet')"
python -c "import nltk; nltk.download('omw-1.4')"
pip install -U pyopenssl cryptography
pip install pytest-xdist
pip install --upgrade dvc
- name: Run Pytest
run: |
python -m pytest -v -s -vvv
- name: Upload Pytest Artifact
uses: actions/upload-artifact@v3
with:
name: pytest-report
path: pytest_report.json