```ruby
desc 'Run metrics with Heckle'
task :ci => %w[ ci:metrics heckle ]

namespace :ci do
  desc 'Run metrics'
  task :metrics => %w[ verify_measurements flog flay reek roodi metrics:all ]
end
```

Add "spec" task as first CI task
user
```ruby
desc 'Run metrics with Heckle'
task :ci => %w[ ci:metrics heckle ]

namespace :ci do
  desc 'Run metrics'
  task :metrics => %w[ spec verify_measurements flog flay reek roodi metrics:all ]
end
```
assistant