-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (29 loc) · 923 Bytes
/
mypy.yml
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
31
32
33
# SPDX-FileCopyrightText: 2021 The SMW Music Python Project Authors <https://github.com/com-posers-pit/smw_music/blob/develop/AUTHORS.rst>
#
# SPDX-License-Identifier: CC0-1.0
# Adapted from https://github.com/snok/install-poetry
name: Mypy
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11'] #, '3.10']
steps:
- name: Install audio library
run: sudo apt install -y portaudio19-dev
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/install-poetry@v1
- name: Install library
run: poetry install --no-interaction
- name: Test with tox
run: poetry run tox -e mypy