Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
steps:
- label: ":hammer: Specs"
agents:
m1: true
commands:
- echo "--- Initialize git"
- git submodule update --init
- ./.github/scripts/setup_test_repo.sh
- echo "--- Bundler"
- gem install bundler:1.17.3
- bundle config path vendor/bundle
- bundle install --jobs 4 --retry 3 --without debugging documentation
- echo "+++ Run Specs"
- bundle exec rake spec
1 change: 1 addition & 0 deletions .github/scripts/setup_test_repo.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
cd spec/fixtures/spec-repos/test_repo
rm -rf .git || true
git init
git remote add origin https://bitbucket.com/test/test_repo.git
6 changes: 3 additions & 3 deletions Rakefile

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Favor si existe un cambio o un error Favor realizar cambios

Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ begin
end

task :all do
title 'Running Unit Tests'
sh "bundle exec bacon #{specs('**')}"

title 'Checking code style...'
Rake::Task['rubocop'].invoke if RUBY_VERSION >= '1.9.3'

title 'Running Unit Tests'
sh "bundle exec bacon #{specs('**')}"
end
end

Expand Down