Skip to content

Feat parse audio

Feat parse audio #35

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install dependencies
run: |
pip install -U pip
pip install .
pip install .[dev]
- name: Install FFmpeg
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg
- name: Verify FFmpeg installation
run: ffmpeg -version
- name: Set environment variables
env:
USE_AUTH_TOKEN: ${{ secrets.HF_AUTH_TOKEN }}
run: |
echo "USE_AUTH_TOKEN=${{ secrets.HF_AUTH_TOKEN }}" >> $GITHUB_ENV
echo "Hugging Face token set."
- name: Test with pytest
env:
USE_AUTH_TOKEN: ${{ env.USE_AUTH_TOKEN }}
run: PYTHONPATH=src pytest
- name: Test Coverage
env:
USE_AUTH_TOKEN: ${{ env.USE_AUTH_TOKEN }}
run: PYTHONPATH=src pytest --cov stt_data_with_llm