File: run_all_tests

package info (click to toggle)
ruby-shoulda-context 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: ruby: 1,712; sh: 200; makefile: 4
file content (16 lines) | stat: -rwxr-xr-x 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -euo pipefail

SUPPORTED_VERSIONS=$(bin/supported_ruby_versions)

run-tests-for-version() {
  local version="$1"
  (export RBENV_VERSION=$version; bundle exec rake)
}

for version in $SUPPORTED_VERSIONS; do
  echo
  echo "*** Running tests for $version ***"
  run-tests-for-version $version
done