Skip to content

Update ci.yml

Update ci.yml #420

Workflow file for this run

name: Ruby package
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
- name: Install requirements
run: |
bundle update --bundler
bundle install
- name: Run tests and collect coverage
run: bundle exec rspec
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}