-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant Find 'requirements.txt' #2
Comments
The first thing I noticed on your yaml is the lack of some setup steps. In the readme of this action I put up a working example: name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master # THIS IS IMPORTANT
- uses: actions/setup-python@v2 # THIS IS IMPORTANT
with:
python-version: '3.8'
- name: Test
uses: onichandame/python-test-action@master
with:
deps_list: 'requirement' Basically the checkout step pull your code from GitHub to the runner, and the setup-python step installs the required python environment on the runner. Would you retry with the 2 steps mentioned above and see if it works? |
Thank you, I think that worked, I am unsure if this is related, but I am now getting this problem
I searched for what to do with
The accepted answer states that certain python packages should be installed, so I am unsure if it is related or not? |
The log is suggesting missing dependencies. It may be related to #1 which found a similar problem but with scipy. Although the problem may be beyond this action's capability, I can give some advice if you provide a reproducing public repo that I can fork and experiment with. Btw, the setup C++ step does not seem to install g++, it uses clang instead. Not sure if this caused the problem. The recommended package and the commands to install them can be found here |
I have been trying run this but it cant seem to find requirements.txt, I have tried manually specifying it, but, no dice. Its just a plain text file sitting in my repo's root. I tried using alpine but it wouldn't even start.
I have tried not specifying the deps_list and a bunch of other tweaks
I'm on a bit o fa time constraint to get this working, its important to my grade 😓
The text was updated successfully, but these errors were encountered: