File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -476,6 +476,12 @@ jobs:
476476 name : hypothesis-example-db
477477 path : ${{ env.CPYTHON_BUILDDIR }}/.hypothesis/examples/
478478
479+ test-lazy-imports-all :
480+ name : ' Test Lazy Imports Fully Enabled'
481+ needs : build-context
482+ if : fromJSON(needs.build-context.outputs.run-tests)
483+ uses : ./.github/workflows/reusable-lazy-imports-all.yml
484+
479485 build-asan :
480486 name : ' Address sanitizer'
481487 runs-on : ${{ matrix.os }}
@@ -648,6 +654,7 @@ jobs:
648654 - build-emscripten
649655 - build-wasi
650656 - test-hypothesis
657+ - test-lazy-imports-all
651658 - build-asan
652659 - build-san
653660 - cross-build-linux
Original file line number Diff line number Diff line change 1- name : Tests ( Lazy Imports)
1+ name : Reusable Lazy Imports Tests
22
33# Run the CPython test suite with global lazy imports forced on
44# (``PYTHON_LAZY_IMPORTS=all``, equivalent to ``-X lazy_imports=all``).
@@ -9,19 +9,7 @@ name: Tests (Lazy Imports)
99# against regressions.
1010
1111on :
12- workflow_dispatch :
13- push :
14- branches : &branches
15- - ' main'
16- - ' 3.*'
17- paths-ignore : &paths-ignore
18- - ' Doc/**'
19- - ' Misc/**'
20- - ' **/*.md'
21- - ' **/*.rst'
22- pull_request :
23- branches : *branches
24- paths-ignore : *paths-ignore
12+ workflow_call :
2513
2614permissions :
2715 contents : read
3422 FORCE_COLOR : 1
3523
3624jobs :
37- lazy-imports :
38- name : lazy_imports=all enabled
25+ test- lazy-imports-all :
26+ name : ' Test Lazy Imports Fully Enabled '
3927 runs-on : ubuntu-24.04
4028 timeout-minutes : 60
4129 env :
You can’t perform that action at this time.
0 commit comments