DEV Community

Gabor Szabo
Gabor Szabo

Posted on • Originally published at


Day 10: GitHub Actions CI for the rdf-kv Ruby Gem

Finally I managed to set up CI for a Ruby Gem.
ere were some errors that stopped me from doing the regular steps.

A few days ago I sent a pull-request with a CI configuration to the RDF::KV module in Perl.
I was not very happy with the solution, but sent the pull-request anyway.
The author of the module was very responsive and soon pointed me to the step I missed, but also pointed at the Ruby port of rdf-kv.

Today finally I had the time to update the CI I wrote for the Perl version. (See the PR) and also to add the GitHub Actions configuration to the Ruby implementation and send the pull-request

name: CI

    - cron: '42 5 * * *'

      fail-fast: false
        ruby: [ '3.1' ]

    runs-on: ubuntu-latest
    name: Ruby ${{matrix.ruby}}
    container: ruby:${{matrix.ruby}}

    - uses: actions/checkout@v3

    - name: Show Ruby Version
      run: ruby -v

    - name: Install dependencies
      run: bundle install

    - name: Run tests
      run: bundle exec rake
Enter fullscreen mode Exit fullscreen mode


Maybe the earlier failures to set up CI for Ruby Gems wasn't even my fault. Maybe they really had failing tests.

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.