Skip to content

Commit

Permalink
test: update codecov workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ghassanmas committed May 7, 2024
1 parent b9374eb commit b738b66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ jobs:
- name: Run tests
run: bin/rspec -fd
continue-on-error: ${{ matrix.allow-failure }}
- name: Send test coverage report to codecov.io
uses: codecov/codecov-action@v4
7 changes: 0 additions & 7 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
ENV["SINATRA_ENV"] = "test"

require 'simplecov'
SimpleCov.start
if ENV['CI']=='true'
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
end

require File.join(File.dirname(__FILE__), '..', 'app')

require 'rack/test'
Expand Down

0 comments on commit b738b66

Please sign in to comment.