Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout after installing deps #139

Merged
merged 2 commits into from
Nov 6, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
container: opensuse/leap:15.4

steps:
- uses: actions/checkout@v2

- name: Install system dependencies
run: |
zypper ar https://download.opensuse.org/repositories/devel:/languages:/ruby/15.4/ ruby
Expand All @@ -25,6 +23,8 @@ jobs:
zypper clean -a
gem.ruby2.7 install bundler -v 1.17.3

- uses: actions/checkout@v2

- name: Install ruby dependencies
env:
QMAKE: /usr/bin/qmake-qt5
Expand Down
8 changes: 7 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
# First of all, coveralls
require 'simplecov'
require 'simplecov-lcov'
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start 'rails' do
SimpleCov::Formatter::LcovFormatter.config do |c|
c.report_with_single_file = true
c.single_report_path = 'coverage/lcov.info'
end

formatter SimpleCov::Formatter::LcovFormatter

# Not covered because they are overriden in spec/support/carrierwave.rb
add_filter 'app/uploaders/'
end
Expand Down