-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
106 changed files
with
2,334 additions
and
1,056 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: license audit | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
license-audit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: fetch decisions.yml | ||
run: | | ||
curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/global.yml -o config/decisions.yml | ||
curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/bugsnag-ruby.yml >> config/decisions.yml | ||
- name: run license finder | ||
# for some reason license finder doesn't run without a login shell (-l) | ||
run: > | ||
docker run -v $PWD:/scan licensefinder/license_finder /bin/bash -lc " | ||
cd /scan && | ||
bundle install && | ||
license_finder --decisions-file config/decisions.yml | ||
" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
name: maze-runner | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
rake-maze-runner: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['1.9', '3.1'] | ||
|
||
uses: ./.github/workflows/run-maze-runner.yml | ||
with: | ||
features: features/rake.feature | ||
ruby-version: ${{ matrix.ruby-version }} | ||
|
||
mailman-maze-runner: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['2.0', '3.0'] | ||
|
||
uses: ./.github/workflows/run-maze-runner.yml | ||
with: | ||
features: features/mailman.feature | ||
ruby-version: ${{ matrix.ruby-version }} | ||
|
||
rack-maze-runner: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- ruby-version: '1.9' | ||
rack-version: '1' | ||
- ruby-version: '3.0' | ||
rack-version: '1' | ||
- ruby-version: '2.2' | ||
rack-version: '2' | ||
- ruby-version: '3.1' | ||
rack-version: '2' | ||
- ruby-version: '2.4' | ||
rack-version: '3' | ||
- ruby-version: '3.1' | ||
rack-version: '3' | ||
|
||
uses: ./.github/workflows/run-maze-runner.yml | ||
with: | ||
features: features/rack.feature | ||
ruby-version: ${{ matrix.ruby-version }} | ||
rack-version: ${{ matrix.rack-version }} | ||
|
||
que-maze-runner: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- ruby-version: '2.0' | ||
que-version: '0.14' | ||
- ruby-version: '3.1' | ||
que-version: '0.14' | ||
- ruby-version: '2.5' | ||
que-version: '1' | ||
- ruby-version: '2.7' | ||
que-version: '1' | ||
|
||
uses: ./.github/workflows/run-maze-runner.yml | ||
with: | ||
features: features/que.feature | ||
ruby-version: ${{ matrix.ruby-version }} | ||
que-version: ${{ matrix.que-version }} | ||
|
||
sidekiq-maze-runner: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['2.5'] | ||
sidekiq-version: ['2', '3', '4', '5', '6'] | ||
|
||
uses: ./.github/workflows/run-maze-runner.yml | ||
with: | ||
features: features/sidekiq.feature | ||
ruby-version: ${{ matrix.ruby-version }} | ||
sidekiq-version: ${{ matrix.sidekiq-version }} | ||
|
||
delayed-job-maze-runner: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['2.5'] | ||
|
||
uses: ./.github/workflows/run-maze-runner.yml | ||
with: | ||
features: features/delayed_job.feature | ||
ruby-version: ${{ matrix.ruby-version }} | ||
|
||
rails-3-4-5-maze-runner: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['2.2', '2.5'] | ||
rails-version: ['3', '4', '5'] | ||
include: | ||
- ruby-version: '2.0' | ||
rails-version: '3' | ||
- ruby-version: '2.6' | ||
rails-version: '5' | ||
exclude: | ||
- ruby-version: '2.2' | ||
rails-version: '3' | ||
- ruby-version: '2.5' | ||
rails-version: '5' | ||
|
||
uses: ./.github/workflows/run-maze-runner.yml | ||
with: | ||
features: features/rails_features/ --tags @rails${{ matrix.rails-version }} | ||
ruby-version: ${{ matrix.ruby-version }} | ||
rails-version: ${{ matrix.rails-version }} | ||
|
||
rails-6-7-integrations-maze-runner: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['2.7', '3.1'] | ||
rails-version: ['6', '7', '_integrations'] | ||
include: | ||
- ruby-version: '2.5' | ||
rails-version: '6' | ||
exclude: | ||
- ruby-version: '2.7' | ||
rails-version: '6' | ||
- ruby-version: '3.1' | ||
rails-version: '_integrations' | ||
|
||
uses: ./.github/workflows/run-maze-runner.yml | ||
with: | ||
features: features/rails_features/ --tags @rails${{ matrix.rails-version }} | ||
ruby-version: ${{ matrix.ruby-version }} | ||
rails-version: ${{ matrix.rails-version }} | ||
|
||
plain-maze-runner: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['1.9', '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1'] | ||
|
||
uses: ./.github/workflows/run-maze-runner.yml | ||
with: | ||
features: features/plain_features/ | ||
ruby-version: ${{ matrix.ruby-version }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: run-maze-runner | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
features: | ||
required: true | ||
type: string | ||
ruby-version: | ||
required: true | ||
type: string | ||
rack-version: | ||
required: false | ||
type: string | ||
que-version: | ||
required: false | ||
type: string | ||
rails-version: | ||
required: false | ||
type: string | ||
sidekiq-version: | ||
required: false | ||
type: string | ||
|
||
jobs: | ||
maze-runner: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
BUNDLE_GEMFILE: Gemfile-maze-runner | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install libcurl4-openssl-dev and net-tools | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libcurl4-openssl-dev net-tools | ||
- name: install Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7 | ||
bundler-cache: true | ||
|
||
- run: bundle exec maze-runner ${{ inputs.features }} --no-source | ||
env: | ||
NETWORK_NAME: notwerk | ||
RUBY_TEST_VERSION: ${{ inputs.ruby-version }} | ||
RACK_VERSION: ${{ inputs.rack-version }} | ||
QUE_VERSION: ${{ inputs.que-version }} | ||
RAILS_VERSION: ${{ inputs.rails-version }} | ||
SIDEKIQ_VERSION: ${{ inputs.sidekiq-version }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
specs: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1'] | ||
optional-groups: ['test sidekiq'] | ||
include: | ||
- ruby-version: '1.9' | ||
optional-groups: 'test' | ||
- ruby-version: '2.0' | ||
optional-groups: 'test' | ||
- ruby-version: '2.1' | ||
optional-groups: 'test' | ||
- ruby-version: 'jruby' | ||
optional-groups: 'test' | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: install Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
|
||
- run: bundle install --with "${{ matrix.optional-groups }}" --binstubs | ||
|
||
- run: ./bin/rake spec | ||
|
||
linting: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
BUNDLE_WITH: rubocop | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: install Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7 | ||
bundler-cache: true | ||
|
||
- run: bundle exec rubocop lib/ |
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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', tag: 'v7.6.0' |
Oops, something went wrong.