Skip to content

alibi detect action #167

alibi detect action

alibi detect action #167

Workflow file for this run

name: FastAPI
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: Run FastAPI
run: |
uvicorn src.api.server_api:app --reload & sleep 5s
- name: Upload FastAPI Logs
uses: actions/upload-artifact@v2
with:
name: fastapi-logs
path: reports/