Skip to content
Open
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
17 changes: 17 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2.1

jobs:
sonarqube_analysis:
docker:
- image: cimg/ruby:3.3
steps:
- checkout
- run:
name: Skip SonarQube for open source gem
command: echo "SonarQube analysis skipped - not configured for this repository"

workflows:
version: 2
build:
jobs:
- sonarqube_analysis
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Tests

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
gemfile:
- rails_70
- rails_71
- rails_72
- rails_80
exclude:
# Rails 7.2 requires Ruby >= 3.1
- ruby: '2.7'
gemfile: rails_72
- ruby: '3.0'
gemfile: rails_72
# Rails 8.0 requires Ruby >= 3.2
- ruby: '2.7'
gemfile: rails_80
- ruby: '3.0'
gemfile: rails_80
- ruby: '3.1'
gemfile: rails_80
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
log/*.log
*.swp
Gemfile.lock
gemfiles/*.lock
pkg/
test/dummy/db/*.sqlite3
test/dummy/db/*.sqlite3-journal
Expand Down
Loading
Loading