Sha256: 01b9b6295e8400538b1904325634f56fe03e01a19b7ce3ed9c11c5e20c63dd64

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

#!/usr/bin/env bash

set -e

rm vgs_api_client-*.gem || true

if [[ -n "$TEST_AGAINST_PUBLISHED_LIB_VERSION" ]]; then
    echo "Installing lib from rubygems.org ${TEST_AGAINST_PUBLISHED_LIB_VERSION} ..."

    gem install vgs_api_client -v ${TEST_AGAINST_PUBLISHED_LIB_VERSION}
else
  echo "Installing lib from local sources"
  bundle install
fi

bundle exec rspec ./spec/test_api_spec.rb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vgs_api_client-0.0.1.dev202204190002 scripts/test/run.sh