Skip to content

Commit 4584e36

Browse files
authored
Merge branch 'master' into revert-0.5.5-regression
2 parents cb93c72 + 051a45c commit 4584e36

File tree

79 files changed

+2627
-2244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2627
-2244
lines changed

.codeclimate.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: bundler
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
time: "04:30"
8+
open-pull-requests-limit: 10

.github/workflows/style.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Code Style Checks
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- '*-maintenance'
8+
- '*-dev'
9+
tags:
10+
- '!*' # Do not execute on tags
11+
pull_request:
12+
branches:
13+
- '*'
14+
15+
jobs:
16+
rubocop:
17+
name: Rubocop
18+
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
ruby:
23+
- 2.6
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v2
28+
- name: Install cURL Headers
29+
run: sudo apt-get install libcurl4-openssl-dev
30+
- name: Setup Ruby & Bundle
31+
uses: ruby/setup-ruby@v1
32+
with:
33+
ruby-version: ${{ matrix.ruby }}
34+
bundler-cache: true
35+
- name: Run Rubocop
36+
run: bundle exec rubocop -DESP

.github/workflows/supported.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Supported Rubies
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- '*-maintenance'
8+
- '*-dev'
9+
tags:
10+
- '!*' # Do not execute on tags
11+
pull_request:
12+
branches:
13+
- '*'
14+
15+
jobs:
16+
test:
17+
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
18+
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
ruby:
23+
- truffleruby-head
24+
- ruby-head
25+
- 3.0
26+
- 2.7
27+
- 2.6
28+
runs-on: ubuntu-latest
29+
continue-on-error: ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }}
30+
steps:
31+
- uses: amancevice/setup-code-climate@v0
32+
name: CodeClimate Install
33+
if: matrix.ruby == '2.6' && github.event_name != 'pull_request'
34+
with:
35+
cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}
36+
- name: Checkout
37+
uses: actions/checkout@v2
38+
- name: Install cURL Headers
39+
run: sudo apt-get install libcurl4-openssl-dev
40+
- name: Setup Ruby & Bundle
41+
uses: ruby/setup-ruby@v1
42+
with:
43+
ruby-version: ${{ matrix.ruby }}
44+
bundler-cache: true
45+
- name: CodeClimate Pre-build Notification
46+
run: cc-test-reporter before-build
47+
if: matrix.ruby == '2.6' && github.event_name != 'pull_request'
48+
continue-on-error: ${{ matrix.allow_failures != 'false' }}
49+
- name: Run tests
50+
run: bundle exec rake test
51+
- uses: codecov/codecov-action@v2
52+
if: matrix.ruby == '2.6' && github.event_name != 'pull_request'
53+
with:
54+
flags: unittests
55+
name: codecov-upload
56+
fail_ci_if_error: true
57+
- name: CodeClimate Post-build Notification
58+
run: cc-test-reporter after-build
59+
if: matrix.ruby == '2.6' && github.event_name != 'pull_request' && always()
60+
continue-on-error: ${{ matrix.allow_failures != 'false' }}

.github/workflows/unsupported.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Unsupported Rubies
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- '*-maintenance'
8+
- '*-dev'
9+
tags:
10+
- '!*' # Do not execute on tags
11+
pull_request:
12+
branches:
13+
- '*'
14+
15+
jobs:
16+
test:
17+
name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
18+
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
ruby:
23+
- 2.5
24+
- 2.4
25+
- 2.3
26+
- 2.2
27+
runs-on: ubuntu-18.04
28+
continue-on-error: ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }}
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v2
32+
- name: Install cURL Headers
33+
run: sudo apt-get install libcurl4-openssl-dev
34+
- name: Setup Ruby & Bundle
35+
uses: ruby/setup-ruby@v1
36+
with:
37+
ruby-version: ${{ matrix.ruby }}
38+
bundler-cache: true
39+
- name: Run tests
40+
run: bundle exec rake test

0 commit comments

Comments
 (0)