@@ -128,14 +128,16 @@ jobs:
128128 fail-fast : false
129129 matrix :
130130 include :
131- - { name: 'C/C++', script: 'check-format.sh' , with_python: 'yes', all_vtr_pkgs: 'yes', pkgs: 'clang-format-18' }
132- - { name: 'Python', script: 'check-format-py.sh', with_python: 'yes', all_vtr_pkgs: 'no', pkgs: '' }
133- - { name: 'Python Lint', script: 'pylint_check.py' , with_python: 'yes', all_vtr_pkgs: 'no', pkgs: '' }
131+ - { name: 'C/C++', script: 'check-format.sh' , with_python: 'yes', with_submodules: 'true', all_vtr_pkgs: 'yes', pkgs: 'clang-format-18' }
132+ - { name: 'Python', script: 'check-format-py.sh', with_python: 'yes', with_submodules: 'false', all_vtr_pkgs: 'no', pkgs: '' }
133+ - { name: 'Python Lint', script: 'pylint_check.py' , with_python: 'yes', with_submodules: 'false', all_vtr_pkgs: 'no', pkgs: '' }
134134 name : ' F: ${{ matrix.name }}'
135135 steps :
136136
137137 - uses : actions/checkout@v4
138- # NOTE: We do not need sub-modules. We do not check sub-modules for formatting.
138+ with :
139+ submodules : ${{ matrix.with_submodules }}
140+ # NOTE: We usually do not need sub-modules. We do not check sub-modules for formatting.
139141
140142 # In order to perform a cpp format of VTR, make format is used which requires
141143 # all of the vpr dependencies to be installed.
0 commit comments