From 1ed619d1965e0fa4aa6dadae88843e923ff0d198 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 16 Aug 2023 13:03:44 -0400 Subject: 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.) --- .github/workflows/lint.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dea20d4c6..2c8d3e19b 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 -- cgit v1.2.3