pytest ci

This commit is contained in:
Tryndaron
2024-03-28 11:18:31 +01:00
parent b01818212f
commit ab54afdab7
+32
View File
@@ -0,0 +1,32 @@
name: Run tests
on:
#pull_request:
#branches: ['main', 'develop']
workflow_dispatch:
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install Dependencies
run: python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set up Hugging Face Token
env:
hf_token: ${{ secrets.HF_TOKEN }}
- name: Run Pytest
run: pytest