Skip to content

Bump actions/setup-python from 4 to 5 #126

Bump actions/setup-python from 4 to 5

Bump actions/setup-python from 4 to 5 #126

name: Test / text2speech
on:
pull_request:
paths:
- 'integrations/nodes/text2speech/**'
- '.github/workflows/nodes_text2speech.yml'
defaults:
run:
working-directory: integrations/nodes/text2speech
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install audio libraries
run: |
sudo apt-get update
sudo apt-get install libsndfile1 ffmpeg
- name: Install text2speech
run: |
pip install -e .[dev]
- name: Pylint
run: |
pylint -ry -j 0 ./text2speech
- name: Run tests
run: |
pytest