diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index c901dd1..4772c30 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["2.6", "2.7", "3.0"] + ruby: ["2.6", "2.7", "3.0", "3.1.0"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -15,3 +15,8 @@ jobs: bundler-cache: true - run: bundle exec standardrb - run: bundle exec rspec spec + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: coverage/lcov.info diff --git a/.gitignore b/.gitignore index c22299b..49837fe 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ vendor *.gem Gemfile.lock coverage +.bundle diff --git a/.ruby-version b/.ruby-version index b502146..fd2a018 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.0.2 +3.1.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f8d7fa..dee1d69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## Unreleased + +- [PLAT-183] Use github action in place of coveralls gem, build against ruby 3.1 + ## 0.2.0 - [PLAT-147] Remove any double slash from the url diff --git a/s3-toolkit.gemspec b/s3-toolkit.gemspec index e033a14..1174202 100644 --- a/s3-toolkit.gemspec +++ b/s3-toolkit.gemspec @@ -26,10 +26,8 @@ Gem::Specification.new do |spec| spec.add_dependency "dry-cli" spec.add_development_dependency "coverage-kit" - spec.add_development_dependency "coveralls_reborn" spec.add_development_dependency "nokogiri" spec.add_development_dependency "pry-byebug" spec.add_development_dependency "rspec" spec.add_development_dependency "standard" - spec.add_development_dependency "simplecov-rcov" end diff --git a/spec/support/coverage_loader.rb b/spec/support/coverage_loader.rb index 9b75ee0..94c785a 100644 --- a/spec/support/coverage_loader.rb +++ b/spec/support/coverage_loader.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -require "simplecov-rcov" -require "coveralls" require "coverage/kit" Coverage::Kit.setup(minimum_coverage: 100.0)