Skip to content

Commit 3ab9229

Browse files
committed
run unit test with downloading artifacts
1 parent af9b453 commit 3ab9229

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/pull-request-management.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,13 @@ jobs:
578578
579579
# Install the wheel file
580580
pip install ./artifacts/pyavd-5.2.0.dev2-py3-none-any.whl
581+
- name: 'Install Python requirements'
582+
run: |
583+
pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" --upgrade
584+
- name: 'Run ansible-test units test cases'
585+
run: |
586+
cd ansible_collections/arista/avd/
587+
ansible-test units -vv
581588
# - name: Print runner path
582589
# run: |
583590
# WHEEL_CACHE_ROOT="$(pip cache dir)/wheels"
@@ -592,10 +599,10 @@ jobs:
592599
# echo "Full wheel path: $FULL_WHEEL_PATH"
593600
# echo "FULL_WHEEL_PATH=$FULL_WHEEL_PATH" >> $GITHUB_ENV
594601

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
602+
# - name: Use the full pip wheel path
603+
# run: |
604+
# echo "Full wheel path from environment: $FULL_WHEEL_PATH"
605+
# ls -l $FULL_WHEEL_PATH
599606
# - name: 'Install Python requirements'
600607
# run: |
601608
# pip install "ansible-core<2.19.0" -r .github/requirements-ci.txt --upgrade

0 commit comments

Comments
 (0)