The Github actions cache was previously failing to actually cache the environment resulting in downloading the libraries listed in requirements.txt for each run. This PR fixes this issue and also removes the virtual environment (included screenshot for successful run).
Alternatively, we can choose to still use a virtual environment have it install the necessary libraries from cache rather than cache the environment. For reference, it would require removing the "if" statement in the installation step. From there, it will check if a cache is found, and if it is found, install the library from cache.
Types of changes
What types of changes does your code introduce? Put an x in the boxes that apply
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionalitiy)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other (if none of the other choices apply)
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!
[x] Changes have been tested to ensure that fix is effective or that a feature works.
[x] Changes pass the unit tests
[x] Code has been run through black with the -l 79 flag.
[ ] I have included necessary documentation or comments (as necessary)
[ ] Any dependent changes have been merged and published
Notes
All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.
Proposed changes
The Github actions cache was previously failing to actually cache the environment resulting in downloading the libraries listed in
requirements.txt
for each run. This PR fixes this issue and also removes the virtual environment (included screenshot for successful run).Alternatively, we can choose to still use a virtual environment have it install the necessary libraries from cache rather than cache the environment. For reference, it would require removing the "if" statement in the installation step. From there, it will check if a cache is found, and if it is found, install the library from cache.
Types of changes
What types of changes does your code introduce? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!black
with the-l 79
flag.Notes
All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.
_PR template was adopted from appium_