Add support for setting process name #145
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow enables CI checks based on Alpine and Ruby versions. | |
# Images used: ruby:a.b-alpine | |
name: Ruby | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
container_tag: | |
- 3.2-alpine | |
- 3.1-alpine | |
- 3.0-alpine | |
container: | |
image: ruby:${{ matrix.container_tag }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
apk update | |
apk upgrade --force | |
# when using ruby some gems need to get built | |
apk add build-base alpine-sdk openssl-dev ruby-dev | |
# get git to use gems from github as well | |
apk add git | |
- name: Update rubygems & bundler | |
run: | | |
ruby -v | |
gem update --system | head -n 8 | |
gem install bundler | |
- name: Install gems | |
run: | | |
# handle IPv6 issues with bundler | |
echo ":ipv4_fallback_enabled: true" > .gemrc | |
export GEMRC=".gemrc" | |
bundle install -j8 | |
- name: Run rubocop | |
run: | | |
bundle exec rake rubocop | |
- name: Run minitest | |
run: | | |
bundle exec rake test:all V=1 |