Skip to content

Commit

Permalink
Update the testing dependencies (openSUSE#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp committed Nov 29, 2022
1 parent a6fdbb5 commit ce66aa4
Show file tree
Hide file tree
Showing 8 changed files with 136 additions and 118 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
container: registry.opensuse.org/opensuse/infrastructure/tsp/containers/base:main

steps:
- name: Install bundler
run: gem.ruby2.7 install bundler -v 1.17.3

- uses: actions/checkout@v2

- name: Cache ruby dependencies
Expand All @@ -28,8 +25,13 @@ jobs:
/usr/bin/
key: ${{ hashFiles('Gemfile.lock') }}

- name: Install bundler
run: gem.ruby2.7 install bundler -v 1.17.3

- name: Install ruby dependencies
run: bundler.ruby2.7 _1.17.3_ install
run: |
gem.ruby2.7 install mini_racer -v 0.6.3
bundler.ruby2.7 _1.17.3_ install
- name: Set up the environment
run: |
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN usermod -u $CONTAINER_USERID tsp
WORKDIR /app

RUN gem.ruby2.7 install bundler -v 1.17.3
RUN gem.ruby2.7 install mini_racer -v 0.6.3

# Configure our bundle
# ENV BUNDLE_FORCE_RUBY_PLATFORM=true
Expand Down
9 changes: 6 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ gem 'sqlite3', '~> 1.3.13'

gem 'bigdecimal', '1.3.5'
gem 'bundler', '< 2.0'
gem 'psych', '< 4.0'

# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'
Expand Down Expand Up @@ -37,13 +38,15 @@ gem 'byebug', group: [:development, :test]

# less support
gem 'less-rails'
gem 'mini_racer', platforms: :ruby
# Remove therubyracer as soon as there's no less-rails anymore
gem 'therubyracer', platforms: :ruby
gem 'twitter-bootstrap-rails'

gem 'active_hash'
gem 'axlsx_rails'
gem 'cancancan', '~> 1.7'
gem 'carrierwave'
gem 'caxlsx_rails'
gem 'clockwork'
gem 'cocoon'
gem 'daemons'
Expand Down Expand Up @@ -84,9 +87,9 @@ group :development do
end

group :test do
gem 'capybara', '~> 2.0'
gem 'capybara'
gem 'capybara-email'
gem 'database_cleaner', '~> 1.8.5'
gem 'database_cleaner'
gem 'pdf-reader'
gem 'selenium-webdriver', '< 4.0'
gem 'shoulda-matchers'
Expand Down

0 comments on commit ce66aa4

Please sign in to comment.