Bump actions/setup-python from 4 to 5 #126
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |