Fix running by itself
bahmutov opened this issue · comments
Gleb Bahmutov commented
Our tests are "too" smart - they do conditional Cypress install, which means when this project is tested by itself it is failing
$(npm bin)/run-if npm run cypress:version
commit-message-install found command npm run cypress:version +0ms
commit-message-install command to run: npm run cypress:version +0ms
commit-message-install getting last git commit message body +2ms
commit-message-install no message to process +17ms
Platform linux is allowed
> cypress-test-tiny@1.0.0 cypress:version /home/ubuntu/cypress-test-tiny
> cypress version
sh: 1: cypress: not found
See example https://circleci.com/gh/cypress-io/cypress-test-tiny/470
Gleb Bahmutov commented
Fixed