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
Prove that this lib works with different envs&technologies
The situation when one of the examples stop works, and we don't know about it is unacceptable. So has to add a job which will test all of them automatically for each push event.
However, we have two situations when tests should work a little bit different.
The first one, if code inside ./sample changed: should install xlsx-import version from ./sample/*/package-lock.js and then run tests
The second situation if this lib code was changed (./src), then should install xlsx-import version by commit hash using git+https protocol.
TODO list:
general
Add job 'Prepare samples list':
read samples/* dir names as json array and set into output
Add job if src and samples were both changed
Investigate how to get a table of supported browsers & versions for Vue and React sample
situation 1:
Add job 'Samples (npm)'
Set strategy.samples with names of samples (fromJson)
For each:
install dependencies
run npm test
situation 2:
Add job 'Samples (master) '
Set strategy.samples with names of samples (fromJson)
For each:
install dependencies
install xlsx-import from current repo/branch (ref)
Examples
The existence of examples has two reasons:
The situation when one of the examples stop works, and we don't know about it is unacceptable. So has to add a job which will test all of them automatically for each
push
event.However, we have two situations when tests should work a little bit different.
./sample
changed: should installxlsx-import
version from./sample/*/package-lock.js
and then run tests./src
), then should installxlsx-import
version by commit hash using git+https protocol.TODO list:
general
samples/*
dir names as json array and set into outputsituation 1:
situation 2:
samples/xlsx-import+express
npm test
npm test
script which checks API responsesamples/xlsx-import+react
samples/xlsx-import+vue
samples/xlsx-import+nodejs
npm test
script which checks API response DONE in: Add test command for nodejs and nodejs-ts samples + upgrade #74samples/xlsx-import+nodets
npm test
script which checks API response DONE in: Add test command for nodejs and nodejs-ts samples + upgrade #74samples/xlsx-import-cli
npm test
script which checks examplesThe text was updated successfully, but these errors were encountered: