To run the test suite, you need a Google Cloud Storage bucket and a Service Account with a key. You must also set the following environment variables:
TEST_GCLOUD_BUCKET
— the name of the bucket.TEST_GCLOUD_CREDENTIALS_PATH
— path to the Service Account's keyfile.
It's best to put these in a .env
file so that you don't have to supply these variables over and over. The test suite automatically loads environment variables from .env
.
Then run the test suite with:
bundle exec rspec
- Bump the version number.
- Modify
version.rb
. - Re-run
bundle install
to update the version number there. - Commit.
- Modify
- Ensure the CI is successful.
- Manually run the "CI/CD" workflow. Set the
create_release
andpush_gem
both totrue
. Wait until it finishes. This creates a draft release. - Edit the draft release's notes and finalize the release.