Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 6 additions & 16 deletions .github/workflows/ruby-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,10 @@ jobs:
run: bundle install
- name: Run tests
run: bundle exec rake test
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
- name: Upload Coverage
uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage/lcov/tracker_api.lcov
flag-name: run-${{ matrix.ruby-version }}
parallel: true

finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
coverageLocations: ${{github.workspace}}/coverage/.resultset.json:simplecov
if: matrix.ruby-version == '2.7'
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in tracker_api.gemspec
gemspec

gem 'simplecov', require: false, group: :test
gem 'simplecov-lcov', require: false, group: :test
# pinned until code climate figures out the new output format https://github.com/codeclimate/test-reporter/issues/418
gem 'simplecov', '< 0.18', require: false, group: :test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[![Gem Version](https://badge.fury.io/rb/tracker_api.png)](http://badge.fury.io/rb/tracker_api)
[![Build Status](https://github.com/ProductPlan/tracker_api/actions/workflows/ruby-tests.yml/badge.svg?branch=master)](https://github.com/ProductPlan/tracker_api/actions)
[![Code Climate](https://codeclimate.com/github/dashofcode/tracker_api.png)](https://codeclimate.com/github/dashofcode/tracker_api)
[![Coverage Status](https://coveralls.io/repos/github/ProductPlan/tracker_api/badge.svg?branch=master)](https://coveralls.io/github/ProductPlan/tracker_api?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/c4602f519cd748d53492/maintainability)](https://codeclimate.com/github/ProductPlan/tracker_api/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/c4602f519cd748d53492/test_coverage)](https://codeclimate.com/github/ProductPlan/tracker_api/test_coverage)

This gem allows you to easily use the [Pivotal Tracker v5 API](https://www.pivotaltracker.com/help/api/rest/v5).

Expand Down
3 changes: 0 additions & 3 deletions test/minitest_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

require 'simplecov'
require 'simplecov-lcov'
SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start

require 'minitest/byebug' if ENV['DEBUG']
Expand Down