I’m using this configuration here:
version: 2.0
defaults: &defaults
working_directory: ~/node-circle
docker:
- image: circleci/node:8.1.4
workflows:
version: 2
build-eslint-and-test:
jobs:
- build
- test:
requires:
- build
- lint
jobs:
build:
<<: *defaults
steps:
- run: echo 'Build!'
test:
<<: *defaults
steps:
- run: echo 'Test!'
lint:
<<: *defaults
steps:
- run: echo 'Lint!'
When I test for validation: config file is valid
And then when I run it using circleci build --parallelism 2
it only executes the build
task, and doesn’t run the lint and test. What am I doing wrong?