Skip to content

Install dependencies with uv #140

Install dependencies with uv

Install dependencies with uv #140

Workflow file for this run

name: Test
on:
- push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Lint
uses: astral-sh/ruff-action@v2
with:
args: 'check'
- name: Format
uses: astral-sh/ruff-action@v2
with:
args: 'format --check'
- name: Install ffmpeg
run: |
wget -O - https://raw.githubusercontent.com/jontybrook/ffmpeg-install-script/main/install-ffmpeg-static.sh | bash -s -- --stable --force
- name: Install uv
run: |
pip install uv
- name: Run type checking
run: uv run mypy .
- name: Run tests
run: uv run pytest --cov-branch --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: sul-dlss/speech-to-text