-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
Add a command to run run_ci.sh
in CONTRIBUTING.md
#212
Comments
@kevinadhiguna if you make the path relative to the script then it could be run from anywhere, something like this: python $(dirname "$0")/syntax_lint.py
Also, in your proposed change, you recommend running the script with |
@kevinadhiguna do you plan to work on this issue? so we know who to assign it to |
@bolshoytoster Thanks for the suggestion. However, do you mind telling what's wrong with this ?
#!/bin/bash
# These are the same steps we are running in Travis CI
# python tests/syntax_lint.py
python $(dirname "$0")/syntax_lint.py
flake8 --max-line-length=100 . && echo "PEP8 Passed" since the output gives an error saying :
|
@bregman-arie Sure, I am working on it. |
@kevinadhiguna sorry, I must've read it wrong. I think it should be python $(dirname "$0")/../tests/syntax_lint.py |
run_ci.sh |
Hi, I would like to ask about this section.
I would like to add a command to run
run_ci.sh
:Reason
This is the content of
run_ci.sh
:If I execute
sh run_ci.sh
inscripts
directory, it will throw an error :Proposed Solution
Either :
sh scripts/run_ci.sh
in project root directory.or
run_ci.sh
:Thank you. Any suggestion is appreciated.
The text was updated successfully, but these errors were encountered: