Skip to content

Commit

Permalink
Fix CI (#10)
Browse files Browse the repository at this point in the history
* Fix minitest version

* Adjust trigger timing
  • Loading branch information
riseshia authored Nov 3, 2023
1 parent a39104a commit 226ceeb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Ruby

on: [push,pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ gemspec
gem "rake", "~> 13.0"
gem "bundler", "> 1.17"

gem "minitest", "~> 5.0"
gem "minitest", "~> 5.20"
2 changes: 1 addition & 1 deletion test/oneshot_coverage_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ def test_with_cover_bundle_path
assert_equal logs["adder.rb-e4e5063f874fdd16febba4e8b8b2448b"], [1,2,7,3,4,8]

logs_from_bundled_gem = logs.select { |log| log.include?("minitest-") }
assert_equal logs_from_bundled_gem.size, 5
assert_equal logs_from_bundled_gem.size, 4
end
end

0 comments on commit 226ceeb

Please sign in to comment.