Skip to content

Commit a316550

Browse files
committed
[22953] Using selenium makes our tests fail
1 parent 74478bb commit a316550

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/ruby.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
uses: actions/cache@v1
3636
with:
3737
path: vendor
38-
key: v3-ruby-${{ matrix.ruby }}-redmine-${{ matrix.redmine }}
38+
# Updating v<x> to v<x+1> clear the cache
39+
key: v4-ruby-${{ matrix.ruby }}-redmine-${{ matrix.redmine }}
3940

4041
- name: install ruby dependencies
4142
run: bundle install

scripts/install

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ echo "Copy database configuration..."
4848

4949
pushd "${REDMINE_PATH}"
5050

51-
sed -i -E '/selenium-webdriver|capybara/d' Gemfile
52-
cat << EOF >> Gemfile
53-
group :test do
54-
gem 'capybara', '~> 3.12'
55-
gem 'selenium-webdriver', '~> 3.141'
56-
end
57-
EOF
58-
5951
(set -x; bundle config set --local without 'rmagick' ${BUNDLE_OPTS})
6052
(set -x; bundle install --without rmagick --jobs=3 --retry=3 ${BUNDLE_OPTS})
6153
(set -x; bundle exec rake generate_secret_token db:create:all db:migrate redmine:plugins:migrate db:test:prepare)

0 commit comments

Comments
 (0)