Skip to content

Adds a guard statement to prevent NoMethodErrors #72

Adds a guard statement to prevent NoMethodErrors

Adds a guard statement to prevent NoMethodErrors #72

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.2
- name: Install dependencies
run: |
gem install bundler
bundle install
- name: Run RuboCop
run: bundle exec rubocop
- name: Run tests
run: bundle exec rspec spec/wikidata/diff/analyzer_spec.rb