Workflows not showing up

workflow

#1

Hello, I have the below code set up for workflows, set at the bottom of the config.yml folder. However when I try to run my build, I get this error:

  • Cannot find a job named build to run in the jobs: section of your configuration file. If you expected a workflow to run, check your config contains a top-level key called ‘workflows:’

I have two items in the jobs folder set up:

jobs:
  build_test:
    ...
  test_instrumented:
    ...
workflows:
  version: 2
  build_and_test:
    jobs:
      - build_test
      - test_instrumented:
        requires:
          -build_test

Anyone have a similar problem with this and managed to fix it?


#2

Have you tried renaming build_test to build?


#3

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.