diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..ca81818 --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,25 @@ +name: Ruby + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby 2.6 + uses: actions/setup-ruby@v1 + with: + ruby-version: 2.6.x + - name: Build and test with Rake + run: | + gem install bundler + bundle install --jobs 4 --retry 3 + bundle exec rubocop + bundle exec rake diff --git a/spec/xpm_ruby_spec.rb b/spec/xpm_ruby_spec.rb index 7eee8e5..17a71b5 100644 --- a/spec/xpm_ruby_spec.rb +++ b/spec/xpm_ruby_spec.rb @@ -2,8 +2,4 @@ it "has a version number" do expect(XpmRuby::VERSION).not_to be(nil) end - - it "does something useful" do - expect(true).to eq(true) - end end