Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

run node tests in github actions#1375

Closed
rwblair wants to merge 103 commits intomasterfrom
ci/github_actions
Closed

run node tests in github actions#1375
rwblair wants to merge 103 commits intomasterfrom
ci/github_actions

Conversation

@rwblair
Copy link
Copy Markdown
Member

@rwblair rwblair commented Oct 26, 2021

See if it gets same problem as in #1358

@rwblair
Copy link
Copy Markdown
Member Author

rwblair commented Oct 26, 2021

I'm still clueless as to why fs.existsSync returns false in gitlab, circleci, and githubactions but true when in a proper shell. Maybe worth testing for existeance some other way and catching ENOENT code.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 7, 2022

Codecov Report

Merging #1375 (e84bdb0) into master (26a3a57) will decrease coverage by 0.12%.
The diff coverage is 58.76%.

❗ Current head e84bdb0 differs from pull request most recent head e5e9250. Consider uploading reports for the commit e5e9250 to get more accurate results

@@            Coverage Diff             @@
##           master    #1375      +/-   ##
==========================================
- Coverage   84.15%   84.03%   -0.13%     
==========================================
  Files          90       90              
  Lines        3642     3652      +10     
  Branches     1101     1108       +7     
==========================================
+ Hits         3065     3069       +4     
- Misses        483      489       +6     
  Partials       94       94              
Impacted Files Coverage Δ
bids-validator/utils/files/readDir.js 78.34% <0.00%> (ø)
bids-validator/validators/bids/fullTest.js 95.69% <ø> (ø)
bids-validator/validators/json/json.js 99.11% <ø> (ø)
...lidator/validators/microscopy/checkJSONAndField.js 97.14% <ø> (ø)
...ds-validator/validators/microscopy/checkSamples.js 100.00% <ø> (ø)
...validator/validators/tsv/validateContRecordings.js 100.00% <ø> (ø)
...ids-validator/validators/tsv/validateTsvColumns.js 52.56% <30.76%> (-1.08%) ⬇️
bids-validator/utils/issues/index.js 79.54% <50.00%> (-0.69%) ⬇️
bids-validator/validators/microscopy/ometiff.js 72.97% <90.00%> (-0.64%) ⬇️
bids-validator/cli.js 81.08% <100.00%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 26a3a57...e5e9250. Read the comment docs.

@effigies
Copy link
Copy Markdown
Collaborator

effigies commented Jan 7, 2022

will --colors work for windows gitlab?

LOLNO

@effigies
Copy link
Copy Markdown
Collaborator

effigies commented Jan 7, 2022

@rwblair Assume you've seen https://stackoverflow.com/questions/66185466/npm-script-fails-is-not-recognized-as-an-internal-or-external-command? It's not obvious that there are useful suggestions there, but it does seem that for some reason we're generating unix test scripts when we should be generating Windows.

@rwblair
Copy link
Copy Markdown
Member Author

rwblair commented Jan 7, 2022

@effigies thank you. Made me wonder why things in the package.json were calling bins with relative paths. Turns out to be for no good reason. Now its failing for new reasons.

Also looks like eslint on ubuntu might not really be running. The command takes a minute on my local machine, but is done in seconds on ci.

rwblair and others added 25 commits March 15, 2022 14:36
* first try

* add functional DatasetLinks schema: any str bigger than len 0 --> uri

* add tests

* fix lint

* use propertyNames feature, instead of not feature

* migrated eeg_matchingpennies from GitHub to GIN

* fix formatting E501

* Update bids-validator/tests/json.spec.js

Co-authored-by: Chris Markiewicz <effigies@gmail.com>

* Update bids-validator/validators/json/schemas/dataset_description.json

* fix tests

Co-authored-by: Chris Markiewicz <effigies@gmail.com>
…ity blacklist check before full summary, so we can error out on blacklisted modalities in bidsignore, and still have an accurate summary of non bidsignored files
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.25 to 3.3.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.1.25...3.3.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@effigies
Copy link
Copy Markdown
Collaborator

This looks good. Cleaned up in #1426 with one additional commit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants