Skip to content

Commit

Permalink
run unit test with downloading artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Dec 23, 2024
1 parent af9b453 commit 3ab9229
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/pull-request-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,13 @@ jobs:
# Install the wheel file
pip install ./artifacts/pyavd-5.2.0.dev2-py3-none-any.whl
- name: 'Install Python requirements'
run: |
pip install mock pytest pytest-mock pytest-xdist pyyaml "ansible-core<2.19.0" --upgrade
- name: 'Run ansible-test units test cases'
run: |
cd ansible_collections/arista/avd/
ansible-test units -vv
# - name: Print runner path
# run: |
# WHEEL_CACHE_ROOT="$(pip cache dir)/wheels"
Expand All @@ -592,10 +599,10 @@ jobs:
# echo "Full wheel path: $FULL_WHEEL_PATH"
# echo "FULL_WHEEL_PATH=$FULL_WHEEL_PATH" >> $GITHUB_ENV

- name: Use the full pip wheel path
run: |
echo "Full wheel path from environment: $FULL_WHEEL_PATH"
ls -l $FULL_WHEEL_PATH
# - name: Use the full pip wheel path
# run: |
# echo "Full wheel path from environment: $FULL_WHEEL_PATH"
# ls -l $FULL_WHEEL_PATH
# - name: 'Install Python requirements'
# run: |
# pip install "ansible-core<2.19.0" -r .github/requirements-ci.txt --upgrade
Expand Down

0 comments on commit 3ab9229

Please sign in to comment.