Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,28 @@ jobs:
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run RSpec
run: bundle exec rspec
run: bundle exec rspec spec/rspec
e2e:
continue-on-error: true
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Setup caching for ruby gems
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Setup Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install gems
run: |
gem install bundler:2.1.4 --no-doc
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run RSpec
run: '! bundle exec rspec spec/integration'
13 changes: 13 additions & 0 deletions spec/integration/failing_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# frozen_string_literal: true

RSpec.describe RSpec::Github do
it 'creates an error annotation for failing specs' do
expect(true).to eq false
end

it 'creates a warning annotation for pending specs'

it 'does not create an annotiation for passing specs' do
expect(true).to eq true
end
end