Files
scribe/.github/workflows/pytest.yaml
T
Tryndaron b8d9195fd0 -r
2024-04-02 14:01:21 +02:00

38 lines
705 B
YAML

name: Run tests
on:
push:
#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
python install -r setup.py
pip install pytest
- name: Run pytest
run: |
echo "${{ secrets.HF_TOKEN }}" >> scraibe/.pyannotetoken
pytest