Sha256: 7cdf56269e55407a4e83d51acdeed3a455c0d7e0de3d360e7f9a86c8fecc159c

Contents?: true

Size: 657 Bytes

Versions: 3

Compression:

Stored size: 657 Bytes

Contents

#!/usr/bin/env bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

# See https://docs.codecov.io/docs/testing-with-docker, also note that it is
# critical to set CI=true because codecov-ruby won't detect GitHub Actions
# without it per:
# https://github.com/codecov/codecov-ruby/blob/484767f1c3d7992a9d7fedd6dc72d35a80d04f70/lib/codecov.rb#L68-L69

docker run $CI_ENV \
           -e ENABLE_CODECOV=1 -e CI=true \
           -v $DIR/..:/code \
           -v vendor/bundle \
           -w /code \
           openstax/kitchen.ci:latest \
           /bin/bash -c "bundle config path vendor/bundle; bundle install; bundle exec rspec"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openstax_kitchen-3.2.0 docker/ci
openstax_kitchen-3.1.0 docker/ci
openstax_kitchen-3.0.0 docker/ci