Skip to content

Merge branch 'main' of https://github.com/se4ai2324-uniba/DetectionOf… #27

Merge branch 'main' of https://github.com/se4ai2324-uniba/DetectionOf…

Merge branch 'main' of https://github.com/se4ai2324-uniba/DetectionOf… #27

name: Pydantic
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: 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')"
- name: Running Pydantic
run: |
python src/api/corpus_endpoint.py
- name: Upload Pydantic Check Artifact
uses: actions/upload-artifact@v3
with:
name: pydantic-check-report
path: pydantic_check_report.json