#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

exec "$SCRIPT_DIR/../run-in-docker.sh" \
  -i ruby:3.3 \
  -w /build/mockserver-client-ruby \
  -- bash -c "bundle install && bundle exec rspec --tag '~integration' --format progress --format RspecJunitFormatter --out test-reports/unit.xml"
