-
Notifications
You must be signed in to change notification settings - Fork 581
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
Install Ruby gems in AppVeyor #1312
Conversation
Thanks for your contribution! Reviewing pull requests take really a lot of time and we're all volunteers. Please make sure you go through the following check list and complete them all before pinging someone for a review.
As you learn things over your Pull Request please help others on the chat and on PRs to get their stuff right as well! |
.ci/appveyor.yml
Outdated
@@ -51,6 +54,12 @@ install: | |||
- "%CMD_IN_ENV% pip install --find-links=C:\\wheels -r test-requirements.txt" | |||
- "%CMD_IN_ENV% pip install --find-links=C:\\wheels -r requirements.txt" | |||
- "CALL .ci/deps.nltk.cmd" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line contains following spacing inconsistencies:
- Trailing whitespaces.
SpaceConsistencyBear, severity NORMAL, section ci
.
The issue can be fixed by applying the following patch:
--- a/.ci/appveyor.yml
+++ b/.ci/appveyor.yml
@@ -54,7 +54,7 @@
- "%CMD_IN_ENV% pip install --find-links=C:\\wheels -r test-requirements.txt"
- "%CMD_IN_ENV% pip install --find-links=C:\\wheels -r requirements.txt"
- "CALL .ci/deps.nltk.cmd"
-
+
- sed -i '/ruby \'2\.2\.2\'/d' Gemfile
- "sed -i '/sqlint/d' Gemfile"
- "type Gemfile"
.ci/appveyor.yml
Outdated
|
||
- sed -i '/ruby \'2\.2\.2\'/d' Gemfile | ||
- "sed -i '/sqlint/d' Gemfile" | ||
- "type Gemfile" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we dont need this line now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh sorry, forgot to remove that
|
I need help in this, I installed gems with command |
@rhemon You can try by |
@yukiisbored yup have tried that. as far as i can see PATH is fine. and have also listed the files in dir and saw it had .bat files. i am wondering if appveyor have problems with .bat? |
@rhemon I'm not quite sure, I'm not a Windows user by any means. I think the appveyor script on coala/coala runs an external batch script. |
cant understand the reason for tests failing for the bears with ruby gems here https://ci.appveyor.com/project/rhemon/coala-bears/build/1.0.156/job/n57e6dewq7hc9sbk |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
2 similar comments
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
5ba2a74
to
8c5c0fa
Compare
Managed to get some bear tests that use ruby gems to pass by adding .BAT since coala wasn't finding .bat files (which is solved right now, so I will undo those changes) |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Marking WIP because the tests are failing. |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
1 similar comment
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
@@ -63,7 +71,8 @@ test_script: | |||
"%CMD_IN_ENV% python -m pytest | |||
--cov -k "not ClangASTPrintBear and not ClangCloneDetectionBear and | |||
not ClangComplexityBear and not ClangCountVectorCreator and | |||
not ClangCountingConditions" | |||
not ClangCountingConditions and not RuboCopBearTest and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Euhm, you can't install rubocop?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no. it installs the gems but the tests fail for some reason in AppVeyor (link available above). same case for CSVLintBearTest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you give us the logs when the tests fails?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the Rubocop tests needs rework for Windows? It's harder to read without colors :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still wondering why csvlint just keeps returning blank
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure about the problems myself and since not a windows user I am not sure if they are actually working fine in windows or not. maybe there should be separate issues for these two tests? and this PR moves on (ignoring the two tests for now) so that I can move on to #1288 😅
marking WIP because there are open discussions and failing builds |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
2 similar comments
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
c5914d2
to
c597335
Compare
Added commands to install ruby gems in appveyor so that it can perform tests for the bears that use ruby gems. Closes coala#1305
@gitmate-bot ff |
Hey! I'm GitMate.io! This pull request is being fastforwarded automatically. Please DO NOT push while fastforward is in progress or your changes would be lost permanently |
Automated fastforward with GitMate.io was successful! 🎉 |
Added commands to install ruby gems in appveyor
so that it can perform tests for the bears that
use ruby gems.
Fixes #1305