aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-08-16 13:03:44 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-08-18 15:38:13 -0400
commit1ed619d1965e0fa4aa6dadae88843e923ff0d198 (patch)
treecf4ad5731d14f8608fcd4e95de98e78e1d007b4a /.github/workflows
parent3ebd570bd538732437ee83c2fe9ac97aef6a03db (diff)
downloadmeson-1ed619d1965e0fa4aa6dadae88843e923ff0d198.zip
meson-1ed619d1965e0fa4aa6dadae88843e923ff0d198.tar.gz
meson-1ed619d1965e0fa4aa6dadae88843e923ff0d198.tar.bz2
run_mypy: add option to run once for each supported version of python
This allows verifying that meson is type-safe under older versions of Python, which it currently is. Different versions of Python sometimes have different supported types for an API. Verify this in CI. (We flush output to ensure CI prints lines in the right order.)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lint.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index dea20d4..2c8d3e1 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -47,4 +47,6 @@ jobs:
with:
python-version: '3.x'
- run: python -m pip install mypy types-PyYAML
- - run: python run_mypy.py
+ - run: python run_mypy.py --allver
+ env:
+ PYTHONUNBUFFERED: 1