File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -122,9 +122,9 @@ jobs:
122
122
fail-fast : false
123
123
matrix :
124
124
include :
125
- - { name: 'C/C++', script: 'check-format.sh' }
126
- - { name: 'Python', script: 'check-format-py.sh' }
127
- - { name: 'Python Lint', script: 'pylint_check.py' }
125
+ - { name: 'C/C++', script: 'check-format.sh' , pkgs: 'clang-format-18' }
126
+ - { name: 'Python', script: 'check-format-py.sh', pkgs: '' }
127
+ - { name: 'Python Lint', script: 'pylint_check.py' , pkgs: '' }
128
128
name : ' F: ${{ matrix.name }}'
129
129
steps :
130
130
@@ -135,11 +135,17 @@ jobs:
135
135
python-version : 3.10.10
136
136
137
137
- uses : actions/checkout@v4
138
- with :
139
- submodules : ' true'
138
+ # NOTE: We do not need sub-modules. We do not check sub-modules for formatting.
139
+
140
+ - name : Install dependencies
141
+ if : ${{ matrix.pkgs }}
142
+ run : sudo apt install -y ${{ matrix.pkgs }}
140
143
141
144
- name : Test
142
- run : ./dev/${{ matrix.script }}
145
+ run : |
146
+ make env
147
+ source .venv/bin/activate
148
+ ./dev/${{ matrix.script }}
143
149
144
150
145
151
VerifyTestSuites :
You can’t perform that action at this time.
0 commit comments