Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 3 additions & 33 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,10 @@
---
name: Pipeline
on:
push:
schedule:
- cron: '0 1 * * 1' # Every Monday at 1AM UTC
jobs:
ruby-versions:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.versions.outputs.supported_versions }}
steps:
- id: versions
uses: Invoca/supported_ruby_versions_action@main

tests:
name: Unit Tests
runs-on: ubuntu-latest
needs: ruby-versions
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
gemfile:
- Gemfile
- gemfiles/unlocked.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 2.2.29
bundler-cache: true
- uses: nick-fields/retry@v3
with:
max_attempts: 2
timeout_minutes: 5
command: bundle exec rake test
uses: Invoca/ruby-test-matrix-workflow/.github/workflows/ruby-test-matrix.yml@main
with:
test-command: "bundle exec rake test"
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.4
3.4.1
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ group :development do
gem 'appraisal'
gem 'minitest'
gem 'minitest-reporters'
gem 'mutex_m'
gem 'rake'
end
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ GEM
builder
minitest (>= 5.0)
ruby-progressbar
mutex_m (0.3.0)
rake (13.0.1)
ruby-progressbar (1.10.1)
thor (1.3.2)
Expand All @@ -30,6 +31,7 @@ DEPENDENCIES
attr_comparable!
minitest
minitest-reporters
mutex_m
rake

BUNDLED WITH
Expand Down
1 change: 1 addition & 0 deletions gemfiles/unlocked.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ group :development do
gem "appraisal"
gem "minitest"
gem "minitest-reporters"
gem "mutex_m"
gem "rake"
end

Expand Down