Skip to content

Commit

Permalink
Merge pull request #185 from dafyddcrosby/ruby_ci_24
Browse files Browse the repository at this point in the history
[github] drop Ruby 2.4 from CI, add 2.7
  • Loading branch information
dafyddcrosby authored Aug 18, 2023
2 parents 677691a + 0fb8f23 commit d324d16
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.4, 2.5, 2.6]
ruby: [2.5, 2.6, 2.7]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
12 changes: 6 additions & 6 deletions bin/taste-tester
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,12 @@ MODES:
' Anything parsable is ok, such as "5/18 4:35" or "16/9/13".'
) do |time|
# can make this an implicit rescue after we drop ruby 2.4
begin
options[:testing_until] = Time.parse(time)
rescue StandardError
logger.error("Invalid date: #{time}")
exit 1
end

options[:testing_until] = Time.parse(time)
rescue StandardError
logger.error("Invalid date: #{time}")
exit 1

end

opts.on(
Expand Down
3 changes: 3 additions & 0 deletions lib/taste_tester/exceptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ module TasteTester
module Exceptions
class SshError < StandardError
end

class LocalLinkError < StandardError
end

class NoOpError < StandardError
end

class AlreadyTestingError < StandardError
attr_reader :username

Expand Down

0 comments on commit d324d16

Please sign in to comment.