@@ -559,9 +559,6 @@ jobs:
559
559
with :
560
560
python-version : |
561
561
3.10
562
- 3.11
563
- 3.12
564
- 3.13
565
562
cache : ' pip'
566
563
cache-latest : true
567
564
- name : Download wheel artifact
@@ -570,14 +567,22 @@ jobs:
570
567
name : pyavd-wheel
571
568
path : ./artifacts
572
569
573
- - name : Install the wheel file
574
- run : |
575
- # Verify the downloaded artifact
576
- echo "Contents of artifacts directory:"
577
- ls -al ./artifacts
570
+ # - name: Install the wheel file
571
+ # run: |
572
+ # # Verify the downloaded artifact
573
+ # echo "Contents of artifacts directory:"
574
+ # ls -al ./artifacts
578
575
579
- # Install the wheel file
576
+ # # Install the wheel file
577
+ # pip install ./artifacts/pyavd-5.2.0.dev2-py3-none-any.whl
578
+ - name : ' Install Python requirements'
579
+ run : |
580
+ pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" --upgrade
580
581
pip install ./artifacts/pyavd-5.2.0.dev2-py3-none-any.whl
582
+ - name : ' Run ansible-test units test cases'
583
+ run : |
584
+ cd ansible_collections/arista/avd/
585
+ ansible-test units -vv
581
586
# - name: Print runner path
582
587
# run: |
583
588
# WHEEL_CACHE_ROOT="$(pip cache dir)/wheels"
@@ -592,10 +597,10 @@ jobs:
592
597
# echo "Full wheel path: $FULL_WHEEL_PATH"
593
598
# echo "FULL_WHEEL_PATH=$FULL_WHEEL_PATH" >> $GITHUB_ENV
594
599
595
- - name : Use the full pip wheel path
596
- run : |
597
- echo "Full wheel path from environment: $FULL_WHEEL_PATH"
598
- ls -l $FULL_WHEEL_PATH
600
+ # - name: Use the full pip wheel path
601
+ # run: |
602
+ # echo "Full wheel path from environment: $FULL_WHEEL_PATH"
603
+ # ls -l $FULL_WHEEL_PATH
599
604
# - name: 'Install Python requirements'
600
605
# run: |
601
606
# pip install "ansible-core<2.19.0" -r .github/requirements-ci.txt --upgrade
0 commit comments