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

Update the testing dependencies #147

Merged
merged 5 commits into from
Nov 8, 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
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