Sha256: 96dabcddd9fe9028daa5e40948f8308741790a0d03248c1536b5056dce8989ac

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

#!/usr/bin/env bash
source bin/helpers/docker
runOnDocker ruby3

echo "== Starting unit tests =="
bundle exec appraisal rspec
if [ $? -ne 0 ]; then
    echo -e "\n== RSpec failed; push aborted! ==\n"
    exit 1
fi

echo "== Starting rubocop =="
bundle exec rubocop --format worst --format simple --format offenses
if [ $? -ne 0 ]; then
    echo -e "\n== Rubocop failed; push aborted! ==\n"
    echo -e "To auto-correct errors run:"
    echo -e "\tbin/rubo_fix"
    exit 1
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phi_attrs-0.3.0 bin/run_tests