Skip to content

Commit a93eb55

Browse files
committed
Split the unit and integration tests
1 parent bc8c4ee commit a93eb55

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

script/cibuild

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,15 @@ if [ "$RSPEC_TEST" = "true" ]; then
9999
fi
100100

101101
# Run the tests
102-
echo "Running tests"
103-
time bundle exec rake test
102+
echo "Running rspec unit tests"
103+
time bundle exec rake spec:spec
104+
exitcode=$?
105+
if [ "$exitcode" -ne 0 ]; then RSPEC_EXITCODE="$exitcode"; fi
106+
cat "$OUTPUT_FILE"
107+
echo ""
108+
109+
echo "Running rspec integration tests"
110+
time bundle exec rake spec:integration
104111
exitcode=$?
105112
if [ "$exitcode" -ne 0 ]; then RSPEC_EXITCODE="$exitcode"; fi
106113
cat "$OUTPUT_FILE"

0 commit comments

Comments
 (0)