HPInc / HP-Digital-Microfluidics

HP Digital Microfluidics Software Platform and Libraries
MIT License
3 stars 1 forks source link

GitHub Actions not finding requirements.txt #203

Open EvanKirshenbaum opened 8 months ago

EvanKirshenbaum commented 8 months ago

There is an new issue with GitHub Actions where the script does not find the requirements.txt file:

ERROR: Could not open requirements file: [Errno 2] No such file or directory: '_work/mpam/requirements.txt'
WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.

Error: Process completed with exit code 1.
Migrated from internal repository. Originally created by Rares Vernica on Sep 16, 2022 at 8:39 AM PDT.
EvanKirshenbaum commented 8 months ago

This issue was referenced by the following commits before migration:

EvanKirshenbaum commented 8 months ago

I think I had a big problem in the setup. The code was not being checked out every time. It was checked out once while working on the #71 issue and then stayed on the GitHub Actions server. I removed the checkout command from the script here and never realized the mistake since it worked fine. Once the server ran out of space and IT cleaned it up, the code was no longer there and the script no longer worked. So, all the mypy checks that we have ran on GitHub Actions were all on the issue.071 branch. :-(

I fixed it to check out the code very time. I also dropped the Docker containers setup as a simpler setup is available using setup-python Actions. I also disabled fail-fast, where it would stop any parallel runs if any of them fails.

Migrated from internal repository. Originally created by Rares Vernica on Sep 16, 2022 at 9:32 AM PDT.