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)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.