Skip to content

Commit b1266ee

Browse files
author
Frank Natividad
committed
Adding run-all to circle and changed it.
Run-all Changes: I'm updating run-all to continue after a spec failure. I still want circle CI to test all specs regardless of a single failure.
1 parent a466a7d commit b1266ee

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

circle.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ machine:
1414
ruby:
1515
version: 2.3.1
1616

17-
dependencies:
18-
override:
19-
- BUNDLE_GEMFILE=logging/Gemfile bundle
20-
2117
# Test
2218
test:
2319
override:
24-
- BUNDLE_GEMFILE=logging/Gemfile bundle exec rspec logging
20+
- ./spec/run-all.sh

spec/run-all.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ for product in \
4040
echo "[$product]"
4141
cd "$repo_directory/$product/"
4242
bundle install
43-
bundle exec rspec --format documentation --fail-fast
43+
# Continue to run if a failure occurs
44+
bundle exec rspec --format documentation || true
4445
done

0 commit comments

Comments
 (0)