Skip to content

Instantly share code, notes, and snippets.

View alboyadjian's full-sized avatar

Adam Alboyadjian alboyadjian

  • Vista Higher Learning, Inc
  • Boston, MA
View GitHub Profile
@alboyadjian
alboyadjian / issue-38811.rb
Created April 1, 2020 17:36
reproduces rails issue 38811 on ruby 2.6.3
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem "rails", "5.2.4.2"
gem "sqlite3"
end
@alboyadjian
alboyadjian / report-coverage
Created February 21, 2018 17:16
Bash script for aggregating code-climate coverage stats across multiple parallel job runs on SemaphoreCI (e.g. with boosters)
#!/bin/bash
# Configuration via Environment Variables
# COVERAGE_BUCKET name of s3 bucket where coverage files will be sent.
# AWS_ACCESS_KEY_ID
# AWS_SECRET_ACCESS_KEY credentials for an IAM user with
# read/write permissions on the s3 bucket
# NON_COVERAGE_JOB_COUNT Number of semaphore tasks that do not generate coverage
# Defaults to 0