forked from spatialaudio/python-sounddevice
-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (30 loc) · 897 Bytes
/
static-analyzers.yml
File metadata and controls
30 lines (30 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Run static analysis tools
on: [push, pull_request]
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3"
- name: Double-check Python version
run: |
python --version
- name: Clone Git repository
uses: actions/checkout@v4
- name: Install sounddevice module
run: |
python -m pip install .
- name: Install Pyright
run: |
python -m pip install pyright
- name: Check sounddevice module with Pyright
run: |
python -m pyright sounddevice.py
- name: Install dependencies for examples
run: |
python -m pip install ffmpeg-python matplotlib soundfile
- name: Check examples with Pyright
run: |
python -m pyright examples/*.py