Disable inference completely

circle.yml

#1

I see in Disable inference that it is possible to disable inference for build phases individually, but how can it be disabled completely? I don’t want to have to second-guess what CircleCI is inferring at every phase. I’m looking for something like inference: false at the top level of the circle.yml.


#2

That is not possible. It would have to be per section.


#3

Is there a way to say ‘do nothing’? So I want to override a section and say do nothing.


#4

Yes. The simplest thing would be to run /bin/true such as:

test:
  override:
    - /bin/true

Though many people use echo as to be more descriptive:

dependencies:
  override:
    - echo "This section is intentionally skipped."
test:
  override:
    - echo "This section is intentionally skipped."

#5