Skip to content

Commit 6944727

Browse files
authored
Merge pull request #18 from esminc/update-ci
Tweaking the CI settings
2 parents 2325cc1 + 972b4f6 commit 6944727

File tree

4 files changed

+25
-13
lines changed

4 files changed

+25
-13
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,25 @@ jobs:
1010
matrix:
1111
ruby_image:
1212
- ruby:latest
13-
- ruby:3.0
14-
- ruby:2.7
15-
- ruby:2.6
13+
- ruby:3.3
14+
- ruby:3.4
1615
bundle:
1716
- latest
18-
- activejob-6.1
19-
- activejob-6.0
20-
- activejob-5.2
17+
- activejob-7.2
18+
include:
19+
- ruby_image: ruby:2.6
20+
bundle: activejob-5.2
21+
- ruby_image: ruby:2.6
22+
bundle: activejob-6.1
23+
- ruby_image: ruby:3.0
24+
bundle: activejob-5.2
25+
- ruby_image: ruby:3.0
26+
bundle: activejob-6.1
2127
container:
2228
image: ${{ matrix.ruby_image }}
2329
steps:
2430
- name: Checkout code
25-
uses: actions/checkout@v2
31+
uses: actions/checkout@v4
2632

2733
- name: Install dependencies and run tests
2834
run: |

Appraisals

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
appraise 'latest' do
2-
gem 'activejob'
1+
2+
if RUBY_VERSION >= '3.1'
3+
appraise 'latest' do
4+
gem 'activejob'
5+
end
6+
7+
appraise 'activejob-7.2' do
8+
gem 'activejob', '~> 7.2.2'
9+
end
310
end
411

512
appraise 'activejob-6.1' do
613
gem 'activejob', '~> 6.1.4'
714
end
815

9-
appraise 'activejob-6.0' do
10-
gem 'activejob', '~> 6.0.4'
11-
end
12-
1316
appraise 'activejob-5.2' do
1417
gem 'activejob', '~> 5.2.6'
1518
end

activejob-google_cloud_tasks-http.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Gem::Specification.new do |spec|
2323
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2424
spec.require_paths = ["lib"]
2525

26+
spec.required_ruby_version = '>= 2.6.0'
27+
2628
spec.add_runtime_dependency "activejob"
2729
spec.add_runtime_dependency "google-cloud-tasks", ">= 2.0.0"
2830
spec.add_runtime_dependency "rack"

spec/active_job/google_cloud_tasks/http_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require 'logger'
12
require 'active_job'
23
require 'stringio'
34

0 commit comments

Comments
 (0)