diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8777419d8..840726938a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 12042a10b8..6c5924d80b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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'