question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ruby integration example

See original GitHub issue

So I trying to replace old codecov integration in my projects (which worked fine) with Github Actions integration

My ruby.yml file looks like this:

name: Ruby
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby: [2.4, 2.5, 2.6, 2.7, head]
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby ${{ matrix.ruby }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - name: Build and test with Rake
      run: |
        gem install bundler
        bundle config set without 'development'
        bundle install --jobs 4 --retry 3
        bundle exec rake
    - name: Send test coverage report to codecov.io
      uses: codecov/codecov-action@v1
      with:
        file: ./coverage/.resultset.json

There is no error in logs: image

But after a go to codecov here: https://codecov.io/gh/ShockwaveNN/pocket-sinatra-interface/commits All I see this error: image

Can you point out that I’m doing wrong?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
thomasrockhucommented, Aug 11, 2020

Awesome, thanks @Drowze. We’ll work on a fix for this.

0reactions
pbolingcommented, Oct 27, 2021

I’ve got it working here. It seems that every key is optional! https://github.com/pboling/shiftable/blob/main/.github/workflows/test.yml#L49

Read more comments on GitHub >

github_iconTop Results From Across the Web

Integration Testing Ruby on Rails with Minitest and Capybara
Introduction. In this tutorial, we'll cover how to do integration tests in Rails using Minitest and Capybara.
Read more >
Testing Rails Applications - Ruby on Rails Guides
The integration directory is meant to hold tests for interactions between controllers. The system test directory holds system tests, which are used for...
Read more >
Integration Testing - LearnHowToProgram.com
Sample Integration Tests. Now we can create integration testing files. Let's create a few examples to test CRUD functionality for adding albums:.
Read more >
Ruby Integration - Userlist
This gem helps with integrating Userlist into Ruby applications. To integrate Userlist into a Ruby on Rails application, please see our Ruby on...
Read more >
HubSpot/integration-examples-ruby - GitHub
Sample Ruby Applications using HubSpot Public API. Contribute to HubSpot/integration-examples-ruby development by creating an account on GitHub.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found