ai-cfia / github-workflows

Reusable github workflows
MIT License
2 stars 0 forks source link

npm test should fail when no tests are present on for the lint-test workflow #108

Closed SonOfLope closed 8 months ago

SonOfLope commented 8 months ago
          apparently if there are no tests with ```npm test``` the test suite still "passes". 

image

1) npm test command should be updated to run vitest 2) by default, the Github workflow should fail when no tests are present

Originally posted by @rngadam in https://github.com/ai-cfia/nachet-frontend/issues/108#issuecomment-2022881160

SonOfLope commented 8 months ago

closing as I saw too late that issue for this was already created in https://github.com/ai-cfia/github-workflows/issues/107