You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests weren't run in the CI for some time. Therefore the failure of the tests were hidden.
I don't understand what you mean, @Croydon. If I look at nodegit/nodegit's build #3076 for instance, the tests appear to have been run. You can scroll to the bottom of a log file and see output from Mocha in it.
No. It fails when it runs. (And master never runs coverage tests, so this problem is hidden right now)
I have fixed it within my pull requests, that coverages tests get executed when you switch the variable EXTENDED_TESTING to true. My last commit disabled coverage tests execution, so we can merge it now for better documentation.
No regression in testing between master and my pull request.
Improvements in documentation, building always for the latest Node minor versions and simplification in the .travis.yml file, visibility when and if coverages tests are getting executed.
Fixing tests are a follow up task, therefore this issue.
This was then mistakenly "disabled" by 1269fd7 because the coverage tests were then set to run if $NODE_VERSION == "6". This condition never resolved to true because of NODE_VERSION="6.5".
Activity
Travis: Disable tests for now
rcjsuen commentedon Feb 28, 2018
I don't understand what you mean, @Croydon. If I look at nodegit/nodegit's build #3076 for instance, the tests appear to have been run. You can scroll to the bottom of a log file and see output from Mocha in it.
Croydon commentedon Feb 28, 2018
Yes,
npm testworks and gets always executed in every single Travis job.These tests don't get execute in master currently:
nodegit/.travis.yml
Line 93 in c2e8838
and they fail.
JimiC commentedon Feb 28, 2018
@rcjsuen @Croydon means the release coverage tests are failing. I'm already working with Croydon to have the
travisconfig setup with stages.Croydon commentedon Feb 28, 2018
Log of failure: https://travis-ci.org/inexorgame/nodegit/jobs/347256998#L9041
Croydon commentedon Feb 28, 2018
@JimiC My pull request already contains stages and they just bring in more structure.
Stages don't solve the test failure.
rcjsuen commentedon Feb 28, 2018
@Croydon Okay. I think what you mean is that the code coverage isn't being run, correct?
JimiC commentedon Feb 28, 2018
Yes.And if someone can tell me what
before_scriptis all about, I'll be able to submit mytravisconfig proposal.Croydon commentedon Feb 28, 2018
No. It fails when it runs. (And master never runs coverage tests, so this problem is hidden right now)
I have fixed it within my pull requests, that coverages tests get executed when you switch the variable
EXTENDED_TESTINGtotrue. My last commit disabled coverage tests execution, so we can merge it now for better documentation.No regression in testing between master and my pull request.
Improvements in documentation, building always for the latest Node minor versions and simplification in the .travis.yml file, visibility when and if coverages tests are getting executed.
Fixing tests are a follow up task, therefore this issue.
JimiC commentedon Feb 28, 2018
@Croydon Notice #1402 (comment) as we discussed that it may be prudent to build docs only on release for the moment.
[-]Fix tests[/-][+]Fix code coverage of tests[/+]rcjsuen commentedon Mar 26, 2018
I think the last time code coverage for the C++ files were run was in Travis CI build #2741. We can see mention of this at the bottom of its log file.
This was then mistakenly "disabled" by 1269fd7 because the coverage tests were then set to run if
$NODE_VERSION == "6". This condition never resolved to true because ofNODE_VERSION="6.5".Croydon commentedon Jun 20, 2024
Closing due to inactivity. If any active maintainer is interested in this, then please create a new issue.