2016-07-22 23:47:55 -04:00
|
|
|
#!/bin/bash
|
|
|
|
set -ev
|
2016-07-22 23:41:22 -04:00
|
|
|
|
|
|
|
echo "Running sinatra tests..."
|
|
|
|
bundle exec rake
|
|
|
|
|
|
|
|
echo "Running sinatra-contrib tests..."
|
2021-04-17 13:03:20 -04:00
|
|
|
export BUILDIR=$GITHUB_WORKSPACE/sinatra-contrib
|
2016-07-23 00:31:46 -04:00
|
|
|
export BUNDLE_GEMFILE=$BUILDIR/Gemfile
|
|
|
|
cd $BUILDIR
|
2016-07-22 23:41:22 -04:00
|
|
|
bundle install --jobs=3 --retry=3
|
|
|
|
bundle exec rake
|
2016-08-12 06:28:10 -04:00
|
|
|
|
|
|
|
echo "Running rack-protection tests..."
|
2021-04-17 13:03:20 -04:00
|
|
|
export BUILDIR=$GITHUB_WORKSPACE/rack-protection
|
2016-08-12 06:28:10 -04:00
|
|
|
export BUNDLE_GEMFILE=$BUILDIR/Gemfile
|
|
|
|
cd $BUILDIR
|
|
|
|
bundle install --jobs=3 --retry=3
|
|
|
|
bundle exec rake
|