@@ -149,17 +149,14 @@ jobs:
149
149
if : needs.file-changes.outputs.config_gen == 'true'
150
150
steps :
151
151
- uses : actions/checkout@v4
152
- - name : Run molecule action
153
- uses :
arista-netdevops-community/[email protected]
154
- with :
155
- molecule_parentdir : " ansible_collections/arista/avd"
156
- molecule_command : " test"
157
- molecule_args : " --scenario-name ${{ matrix.avd_scenario }}"
158
- pip_file : .github/requirements-ci-dev.txt
159
- galaxy_file : " ansible_collections/arista/avd/collections.yml"
160
- ansible : ${{ matrix.ansible_version }}
161
- check_git : true
162
- check_git_enforced : true
152
+ - name : Run molecule test
153
+ run : |
154
+ pip install -r .github/requirements-ci-dev.txt {{ matrix.ansible_version}}
155
+ cd ansible_collections/arista/avd
156
+ molecule test --scenario-name ${{ matrix.avd_scenario }}
157
+ - name : Check GIT status
158
+ run : |
159
+ .github/molecule-runner.sh
163
160
# - uses: actions/upload-artifact@v4
164
161
# with:
165
162
# name: molecule-${{ matrix.avd_scenario }}-artifacts
@@ -180,17 +177,14 @@ jobs:
180
177
if : needs.file-changes.outputs.dhcp == 'true'
181
178
steps :
182
179
- uses : actions/checkout@v4
183
- - name : Run molecule action
184
- uses :
arista-netdevops-community/[email protected]
185
- with :
186
- molecule_parentdir : " ansible_collections/arista/avd"
187
- molecule_command : " test"
188
- molecule_args : " --scenario-name ${{ matrix.avd_scenario }}"
189
- pip_file : .github/requirements-ci-dev.txt
190
- galaxy_file : " ansible_collections/arista/avd/collections.yml"
191
- ansible : ${{ matrix.ansible_version }}
192
- check_git : true
193
- check_git_enforced : true
180
+ - name : Run molecule test
181
+ run : |
182
+ pip install -r .github/requirements-ci-dev.txt {{ matrix.ansible_version}}
183
+ cd ansible_collections/arista/avd
184
+ molecule test --scenario-name ${{ matrix.avd_scenario }}
185
+ - name : Check GIT status
186
+ run : |
187
+ .github/molecule-runner.sh
194
188
# - uses: actions/upload-artifact@v4
195
189
# with:
196
190
# name: molecule-${{ matrix.avd_scenario }}-artifacts
@@ -249,17 +243,14 @@ jobs:
249
243
uv pip compile .github/requirements-ci-dev.txt --resolution=lowest-direct > ${{ matrix.pip_requirements }}
250
244
cat ${{ matrix.pip_requirements }}
251
245
if : matrix.pip_requirements == 'tmp-requirements-minimum.txt'
252
- - name : Run molecule action
253
- uses :
arista-netdevops-community/[email protected]
254
- with :
255
- molecule_parentdir : " ansible_collections/arista/avd"
256
- molecule_command : " test"
257
- molecule_args : " --scenario-name ${{ matrix.avd_scenario }}"
258
- pip_file : ${{ matrix.pip_requirements }}
259
- galaxy_file : " ansible_collections/arista/avd/collections.yml"
260
- ansible : ${{ matrix.ansible_version }}
261
- check_git : true
262
- check_git_enforced : true
246
+ - name : Run molecule test
247
+ run : |
248
+ pip install -r .github/requirements-ci-dev.txt {{ matrix.ansible_version}}
249
+ cd ansible_collections/arista/avd
250
+ molecule test --scenario-name ${{ matrix.avd_scenario }}
251
+ - name : Check GIT status
252
+ run : |
253
+ .github/molecule-runner.sh
263
254
# - uses: actions/upload-artifact@v4
264
255
# with:
265
256
# name: molecule-${{ matrix.avd_scenario }}-artifacts
@@ -285,17 +276,14 @@ jobs:
285
276
286
277
steps :
287
278
- uses : actions/checkout@v4
288
- - name : Run molecule action
289
- uses :
arista-netdevops-community/[email protected]
290
- with :
291
- molecule_parentdir : " ansible_collections/arista/avd"
292
- molecule_command : " test"
293
- molecule_args : " --scenario-name ${{ matrix.avd_scenario }}"
294
- pip_file : .github/requirements-ci-dev.txt
295
- galaxy_file : " ansible_collections/arista/avd/collections.yml"
296
- ansible : ${{ matrix.ansible_version }}
297
- check_git : true
298
- check_git_enforced : true
279
+ - name : Run molecule test
280
+ run : |
281
+ pip install -r .github/requirements-ci-dev.txt {{ matrix.ansible_version}}
282
+ cd ansible_collections/arista/avd
283
+ molecule test --scenario-name ${{ matrix.avd_scenario }}
284
+ - name : Check GIT status
285
+ run : |
286
+ .github/molecule-runner.sh
299
287
# - uses: actions/upload-artifact@v4
300
288
# with:
301
289
# name: molecule-${{ matrix.avd_scenario }}-artifacts
@@ -321,17 +309,14 @@ jobs:
321
309
if : needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.anta_runner == 'true'
322
310
steps :
323
311
- uses : actions/checkout@v4
324
- - name : Run molecule action
325
- uses :
arista-netdevops-community/[email protected]
326
- with :
327
- molecule_parentdir : ' ansible_collections/arista/avd'
328
- molecule_command : ' test'
329
- molecule_args : ' --scenario-name ${{ matrix.avd_scenario }}'
330
- pip_file : .github/requirements-ci-dev.txt
331
- galaxy_file : " ansible_collections/arista/avd/collections.yml"
332
- ansible : ${{ matrix.ansible_version }}
333
- check_git : true
334
- check_git_enforced : true
312
+ - name : Run molecule test
313
+ run : |
314
+ pip install -r .github/requirements-ci-dev.txt {{ matrix.ansible_version}}
315
+ cd ansible_collections/arista/avd
316
+ molecule test --scenario-name ${{ matrix.avd_scenario }}
317
+ - name : Check GIT status
318
+ run : |
319
+ .github/molecule-runner.sh
335
320
336
321
# ----------------------------------- #
337
322
# EOS Validate State MOLECULE
@@ -353,17 +338,14 @@ jobs:
353
338
if : needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.validate_state == 'true'
354
339
steps :
355
340
- uses : actions/checkout@v4
356
- - name : Run molecule action
357
- uses :
arista-netdevops-community/[email protected]
358
- with :
359
- molecule_parentdir : " ansible_collections/arista/avd"
360
- molecule_command : " test"
361
- molecule_args : " --scenario-name ${{ matrix.avd_scenario }}"
362
- pip_file : .github/requirements-ci-dev.txt
363
- galaxy_file : " ansible_collections/arista/avd/collections.yml"
364
- ansible : ${{ matrix.ansible_version }}
365
- check_git : true
366
- check_git_enforced : true
341
+ - name : Run molecule test
342
+ run : |
343
+ pip install -r .github/requirements-ci-dev.txt {{ matrix.ansible_version}}
344
+ cd ansible_collections/arista/avd
345
+ molecule test --scenario-name ${{ matrix.avd_scenario }}
346
+ - name : Check GIT status
347
+ run : |
348
+ .github/molecule-runner.sh
367
349
368
350
# ----------------------------------- #
369
351
# Ansible tests
0 commit comments