1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/.actions.sh

20 lines
454 B
Bash
Raw Normal View History

#!/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
export BUNDLE_GEMFILE=$BUILDIR/Gemfile
cd $BUILDIR
2016-07-22 23:41:22 -04:00
bundle install --jobs=3 --retry=3
bundle exec rake
echo "Running rack-protection tests..."
2021-04-17 13:03:20 -04:00
export BUILDIR=$GITHUB_WORKSPACE/rack-protection
export BUNDLE_GEMFILE=$BUILDIR/Gemfile
cd $BUILDIR
bundle install --jobs=3 --retry=3
bundle exec rake