Disable inference completely

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.

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

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

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."
1 Like