Skip to content

288: Fix validation #1022

288: Fix validation

288: Fix validation #1022

Workflow file for this run

name: Python NLP Tests
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: nlp
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: "pip"
- name: Install NLP dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set environment variables
run: echo "NLP_API_KEY=valid_api_key" >> $GITHUB_ENV
- name: Run tests
run: pytest