-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update and fix test suite #174
Conversation
This is related to issue se-sic#161. Signed-off-by: Claus Hunsen <[email protected]>
Due to weird circumstances, tests are failing only on R 3.3, indicating string mismatches in all commit-count and LOC-count data.frames [1]. The reason for these failures is that the row ordering of the respective data.frames is not deterministic for authors exhibiting the same frequency value. To fix this problem, the resulting data.frames of all corresponding functions are ordered by the author and committer names, respectively. Props to @hechtlC for a valuable discussion. [1] https://travis-ci.com/se-passau/coronet/jobs/278309743 Signed-off-by: Claus Hunsen <[email protected]>
The configuration file for Travis CI caused some warnings in the Travis backend (see also https://config.travis-ci.com/explore): > [warn] on root: deprecated key: "sudo" (The key `sudo` has no effect > anymore.) > [info] on root: missing os, using the default "linux" To fix these warnings, the configuration is heavily adapted: - Use Linux OS explicitly. - Use distribution 'xenial' (16.04) instead of 'trusty'. - Re-order and comment configuration parts. Signed-off-by: Claus Hunsen <[email protected]>
Signed-off-by: Claus Hunsen <[email protected]>
5e16923
to
4220a79
Compare
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.
Thanks for the fix and the enhancement regarding the R versions @clhunsen .
The changes look good to me and I don't see any issues. So I would be fine with merging.
Nice work @clhunsen. Thanks a lot! I am a little bit surprised that we did not add the commit regarding R version 3.6 earlier - the commit is half a your old. But better late than never ;) Regarding the failing tests on R 3.3: Why didn't we recognize this earlier? The tests seem to have failed on the code of the last pull request. That's weird and should not happen again. @clhunsen Do you have any suggestions on how to recognize this earlier? How did you recognize that? May be helpful to get some advice from you for future development. This pull request looks good. So I will merge it this week, right after you will have replied to my questions ;) |
I just forgot about that commit and just "re-found" while rebasing my development branch last week. 😉😅
This is (potentially) caused by an update of an R package that is a dependency of the package I realized the failures because the cron jobs of Travis CI failed (see here and here, look for the label
Then, this PR is fine for merging now. 😁 |
I already have access to the Travis CI jobs. As I also can reach the settings page an travis, I think that I already have full access on that (at least, it looks like that, don't know if there is more than what I can see). Regarding how you realized the failures: Did you access the travis page for cron jobs on purpose or by chance? Or do you get regular notifications for them? |
I enabled email notifications here. Thus, I get emails when jobs are failing. The failing jobs bugged me for quite some time already, I just had no time to fix the underlying issue until now.
That may be a good idea. 😀👍 You can also add https://travis-ci.com/dashboard to your bookmarks and regularly check for obscurities. 😉 (The link is especially useful if you have several repositories on Travis.) |
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.
Everything looks good to me. Thanks for your effort, your fixes, and your explanations to me @clhunsen.
Prerequisites
dev
.Description
This PR is mainly concerned with the test suite and compatibility with Travis CI:
.travis.yml
to fix warnings.Changelog
Changed/Improved
.travis.yml
to improve compatibility with Travis CI (41ce589)Fixed