CoolFace
Apppublic

Hyathi/Stem-Extractor

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
pytest.yaml46 linesDownload Raw Back to workflows
1name: Run Tests2 3on:4  pull_request:5    branches:6      - main7      - develop8    paths: 9      - scraibe/**10      - pyproject.toml11      - requirements.txt12      - test/**    13  workflow_dispatch:14 15jobs:16  pytest:17    runs-on: ubuntu-latest18 19    steps:20      - name: Checkout21        uses: actions/checkout@v322        with:23          fetch-depth: 024 25      - name: Setup Python26        uses: actions/setup-python@v327        with:28          python-version: 3.929 30      - name: Install Dependencies31        run: |32 33             sudo apt update && sudo apt upgrade34             python -m pip install --upgrade pip35             pip install -r requirements.txt36             pip install .37             sudo apt-get install libsndfile1-dev 38             sudo apt-get install ffmpeg 39             pip install pytest40             41      - name: Run pytest42        env: 43          HF_TOKEN : ${{ secrets.HF_TOKEN }}44        run: |45            pytest 46