Skip to content

Commit

Permalink
Merge branch 'master' into github_actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy authored Jan 21, 2025
2 parents a3f93bd + 9c7e5cf commit 089ebe4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ plugins:
rubocop:
enabled: true
config: ".rubocop_cc.yml"
channel: rubocop-0-82
channel: rubocop-1-56-3
31 changes: 14 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,37 @@
---
name: CI

on: [push, pull_request]

on:
- push
- pull_request
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- '2.5'
- '2.6'
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
services:
postgres:
image: fryguy9/postgresql-with-config:latest
env:
POSTGRESQL_USER: root
POSTGRESQL_PASSWORD: smartvm
POSTGRESQL_DATABASE: temp
options: >-
--name postgres
--health-cmd pg_isready
--health-interval 2s
--health-timeout 5s
--health-retries 5
options: "--name postgres --health-cmd pg_isready --health-interval 2s --health-timeout 5s
--health-retries 5"
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Verify libpq
run: ls -al /usr/lib
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
ruby-version: "${{ matrix.ruby-version }}"
bundler-cache: true
timeout-minutes: 30
- name: Set up tests
Expand All @@ -50,9 +47,9 @@ jobs:
POSTGRESQL_USER: root
POSTGRESQL_PASSWORD: smartvm
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
- if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '2.7' }}
- if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.3' }}
name: Report code coverage
continue-on-error: true
uses: paambaati/codeclimate-action@v5
uses: paambaati/codeclimate-action@v9
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
CC_TEST_REPORTER_ID: "${{ secrets.CC_TEST_REPORTER_ID }}"
2 changes: 1 addition & 1 deletion pg-logical_replication.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This gem provides a class with methods which map directly to the PostgreSQL DSL
spec.add_dependency "pg"

spec.add_development_dependency "manageiq-style"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rake", ">= 12.3.2"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "simplecov", ">= 0.21.2"
end
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}

0 comments on commit 089ebe4

Please sign in to comment.