Skip to content

Fix number of speakers when args.diarize is set without a value (#123) #139

Fix number of speakers when args.diarize is set without a value (#123)

Fix number of speakers when args.diarize is set without a value (#123) #139

Workflow file for this run

name: Ruff
on: [push]
jobs:
ruff-analysis:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.11"]
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Install system dependencies
shell: bash
run: |
if [ "$(uname)" = "Linux" ]; then
sudo apt-get update
sudo apt-get install -y portaudio19-dev
elif [ "$(uname)" = "Darwin" ]; then
brew install portaudio
else
echo "No system dependencies required for Windows"
fi
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then
pip install -r requirements.txt
else
echo "No requirements.txt found, skipping dependencies installation"
fi
- name: Install Ruff
run: python -m pip install ruff
- name: Analyse the code with Ruff
run: |
ruff check verbatim tests