TextGenPro / .github /workflows /test-model.yml
RahulChhatbar's picture
final commit
ec6c892
raw
history blame contribute delete
464 Bytes
name: Test Hugging Face Model
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pytest -v test.py || exit 1