product-os / dreamsheets-scripts

contains dreamsheet scripts used for scaffolded dreamsheets (or google app script spreadsheet) projects
https://www.npmjs.com/package/dreamsheets-scripts
Apache License 2.0
1 stars 0 forks source link

dsx test expects a button-press and is thus not CI compatible #28

Open AlidaOdendaal opened 2 years ago

AlidaOdendaal commented 2 years ago

After integrating dreamsheets-scripts into the an existing model project, and trying to merge a PR in this project's repo, the node checks fail consistently with (e.g. for task: build-linux-alpine-x86-64-16):

...
+ run_as npm test
+ eval 'npm test'
++ npm test

> common-model@1.1.0 test
> dsx test

No tests found related to files changed since last commit.

timeout exceeded

@somombo explained that this is because dsx test defaults to watch all mode, where it expects you to physically press a button. So it is not (yet) CI compatible, and needs to be made CI compatible.