Skip to content

Commit 323c66a

Browse files
committed
Fix coverage and add Ruby 3.1, 3.2.
1 parent 1b21523 commit 323c66a

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/development.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ jobs:
1515
- macos
1616

1717
ruby:
18-
- "2.6"
1918
- "2.7"
2019
- "3.0"
20+
- "3.1"
21+
- "3.2"
2122

2223
experimental: [false]
2324
env: [""]
@@ -34,8 +35,8 @@ jobs:
3435
ruby: head
3536
experimental: true
3637
- os: ubuntu
37-
ruby: 2.6
38-
env: COVERAGE=PartialSummary,Coveralls
38+
ruby: "3.2"
39+
env: COVERAGE=PartialSummary
3940
experimental: true
4041

4142
steps:

bake.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ def external
55

66
Bundler.with_clean_env do
77
clone_and_test("async-io")
8-
clone_and_test("async-pool")
9-
clone_and_test("async-websocket")
8+
clone_and_test("async-pool", "sus")
9+
clone_and_test("async-websocket", "sus")
1010
clone_and_test("async-dns")
1111
clone_and_test("async-http")
1212
clone_and_test("falcon")
@@ -16,7 +16,7 @@ def external
1616

1717
private
1818

19-
def clone_and_test(name)
19+
def clone_and_test(name, command = "rspec")
2020
require 'fileutils'
2121

2222
path = "external/#{name}"
@@ -35,5 +35,5 @@ def clone_and_test(name)
3535
file.puts('gem "async", path: "../../"')
3636
end
3737

38-
system("cd #{path} && bundle install && bundle exec rspec") or abort("Tests failed!")
38+
system("cd #{path} && bundle install && bundle exec #{command}") or abort("Tests for #{name} failed!")
3939
end

0 commit comments

Comments
 (0)