|
1 | | -name: Python Type-Check |
| 1 | +# DISABLED: Python Type-Check |
| 2 | +# This workflow has been disabled to reduce CI coverage-like runs |
| 3 | +# Original workflow provided Python type checking but added overhead |
| 4 | +# To re-enable: uncomment the entire workflow below |
2 | 5 |
|
3 | | -on: |
4 | | - push: |
5 | | - paths: |
6 | | - - '.github/workflows/python-type-check.yml' |
7 | | - - 'pyrightconfig.json' |
8 | | - - '**.py' |
9 | | - - '**/requirements*.txt' |
10 | | - pull_request: |
11 | | - paths: |
12 | | - - '.github/workflows/python-type-check.yml' |
13 | | - - 'pyrightconfig.json' |
14 | | - - '**.py' |
15 | | - - '**/requirements*.txt' |
16 | | - |
17 | | -concurrency: |
18 | | - group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} |
19 | | - cancel-in-progress: true |
20 | | - |
21 | | -jobs: |
22 | | - python-type-check: |
23 | | - runs-on: ubuntu-latest |
24 | | - name: pyright type-check |
25 | | - steps: |
26 | | - - name: Check out source repository |
27 | | - uses: actions/checkout@v4 |
28 | | - - name: Set up Python environment |
29 | | - uses: actions/setup-python@v5 |
30 | | - with: |
31 | | - python-version: "3.11" |
32 | | - - name: Install Python dependencies |
33 | | - # TODO: use a venv |
34 | | - run: pip install -r requirements/requirements-all.txt |
35 | | - - name: Type-check with Pyright |
36 | | - uses: jakebailey/pyright-action@v2 |
37 | | - with: |
38 | | - version: 1.1.382 |
39 | | - level: warning |
40 | | - warnings: true |
| 6 | +# name: Python Type-Check |
| 7 | +# |
| 8 | +# on: |
| 9 | +# push: |
| 10 | +# paths: |
| 11 | +# - '.github/workflows/python-type-check.yml' |
| 12 | +# - 'pyrightconfig.json' |
| 13 | +# - '**.py' |
| 14 | +# - '**/requirements*.txt' |
| 15 | +# pull_request: |
| 16 | +# paths: |
| 17 | +# - '.github/workflows/python-type-check.yml' |
| 18 | +# - 'pyrightconfig.json' |
| 19 | +# - '**.py' |
| 20 | +# - '**/requirements*.txt' |
| 21 | +# |
| 22 | +# concurrency: |
| 23 | +# group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} |
| 24 | +# cancel-in-progress: true |
| 25 | +# |
| 26 | +# jobs: |
| 27 | +# python-type-check: |
| 28 | +# runs-on: ubuntu-latest |
| 29 | +# name: pyright type-check |
| 30 | +# steps: |
| 31 | +# - name: Check out source repository |
| 32 | +# uses: actions/checkout@v4 |
| 33 | +# - name: Set up Python environment |
| 34 | +# uses: actions/setup-python@v5 |
| 35 | +# with: |
| 36 | +# python-version: "3.11" |
| 37 | +# - name: Install Python dependencies |
| 38 | +# # TODO: use a venv |
| 39 | +# run: pip install -r requirements/requirements-all.txt |
| 40 | +# - name: Type-check with Pyright |
| 41 | +# uses: jakebailey/pyright-action@v2 |
| 42 | +# with: |
| 43 | +# version: 1.1.382 |
| 44 | +# level: warning |
| 45 | +# warnings: true |
0 commit comments