Skip to content

Commit

Permalink
commenting the conditions for cache-hit
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Dec 3, 2024
1 parent 15cbe35 commit b22f8e2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pull-request-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ jobs:
3.13
cache: 'pip'
- name: 'Install Python requirements'
# addding condition might not check for any upgrade, need to test this
if: steps.pipcache.outputs.cache-hit != 'true'
run: |
pip install "ansible-core<2.19.0" -r .github/requirements-ci.txt --upgrade
Expand Down Expand Up @@ -387,7 +388,8 @@ jobs:
3.13
cache: 'pip'
- name: 'Install Python requirements'
if: steps.pipcache.outputs.cache-hit != 'true'
# throws error on using cache-hit condition
# if: steps.pipcache.outputs.cache-hit != 'true'
run: |
pip install "ansible-core<2.19.0" -r .github/requirements-ci.txt --upgrade
- name: 'Run ansible-test integration test cases'
Expand Down Expand Up @@ -479,7 +481,8 @@ jobs:
python-version: ${{ matrix.python }}
cache: 'pip'
- name: 'Install tox'
if: steps.pipcache.outputs.cache-hit != 'true'
# throws error on using cache-hit condition
# if: steps.pipcache.outputs.cache-hit != 'true'
run: |
pip install tox tox-gh-actions --upgrade
- name: "Run pytest via tox for ${{ matrix.python }}"
Expand Down

0 comments on commit b22f8e2

Please sign in to comment.