I want to use CircleCI just to push my docker image to Dockerhub when I merge with master. I am using CircleCI in other projects where it is more useful and want to be consistent (as well as I am planning to add tests later). However all my builds fail because CircleCI says: "NO TESTS!", which is true. How can I disable CircleCI from checking for tests presence.
30
votes
3 Answers
45
votes
17
votes
Alternatively, as cited on this discussion, you can use "true" to skip tests:
# circle.yml
...
test:
override:
- "true"
...
Please notice the double quotes as otherwise it won't work.
I hope that is helpful as it worked for me!