Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahramadan committed Aug 15, 2024
1 parent d41ea24 commit be2d714
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,5 +358,3 @@ jobs:
resultPath: lib/coverage_results/.last_run.json
failedThreshold: 93.5
failedThresholdBranch: 50
- name: Clear all Coverage Results
run: bundle exec rake coverage:clear
4 changes: 2 additions & 2 deletions lib/tasks/coverage_report.rake
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ if ENV['CI']
refuse_coverage_drop
end

Dir['lib/coverage_{[!r][!e][!s][!u][!l][!t][!s]}*'].each { |dir| FileUtils.rm_rf(dir) }
Dir['coverage_{[!r][!e][!s][!u][!l][!t][!s]}*'].each { |dir| FileUtils.rm_rf(dir) }
end

desc 'Removes all coverage_* directories'
task :clear do
require 'fileutils'
Dir['lib/coverage_*'].each { |dir| FileUtils.rm_rf(dir) }
Dir['coverage_*'].each { |dir| FileUtils.rm_rf(dir) }
end
end
end

0 comments on commit be2d714

Please sign in to comment.