Merge pull request #46 from sparklemotion/flavorjones-update-ci

ci: maintenance
This commit is contained in:
Mike Dalessio 2024-03-23 22:23:31 -04:00 committed by GitHub
commit 6bb554dbe9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 7 deletions

View file

@ -15,7 +15,7 @@ jobs:
matrix: matrix:
os: [ubuntu] os: [ubuntu]
# We still kind of support Ruby 1.8.7 # We still kind of support Ruby 1.8.7
ruby: [2.7, "3.0", 3.1, head, jruby] ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "head", "jruby"]
name: >- name: >-
${{matrix.os}}:ruby-${{matrix.ruby}} ${{matrix.os}}:ruby-${{matrix.ruby}}
@ -24,7 +24,7 @@ jobs:
steps: steps:
- name: Check out - name: Check out
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Set up ruby and bundle - name: Set up ruby and bundle
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1

View file

@ -50,6 +50,6 @@ end
def sleep_until(time) def sleep_until(time)
if (s = time - Time.now) > 0 if (s = time - Time.now) > 0
sleep s sleep s + 0.01
end end
end end

View file

@ -10,10 +10,8 @@ module TestHTTPCookieJar
end end
def test_nonexistent_store_in_config def test_nonexistent_store_in_config
assert_raise_with_message( expected = /cookie store unavailable: :nonexistent, error: (cannot load|no such file to load) .*nonexistent_store/
ArgumentError, assert_raise_with_message(ArgumentError, expected) {
/cookie store unavailable: :nonexistent, error: cannot load .*nonexistent_store/
) {
HTTP::CookieJar.new(store: :nonexistent) HTTP::CookieJar.new(store: :nonexistent)
} }
end end