Skip to content

Commit

Permalink
Merge pull request #40 from solarwindscloud/fix_4_linux_test
Browse files Browse the repository at this point in the history
Fix 4 linux test
  • Loading branch information
xuan-cao-swi authored Oct 6, 2023
2 parents 328c86b + 29fcbb5 commit 280aba3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_on_4_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
mysql:
image: mariadb:latest
image: mariadb:10.9.6
env:
MYSQL_USER: user
MYSQL_PASSWORD: password
Expand Down
8 changes: 7 additions & 1 deletion gemfiles/delayed_job.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ source "https://rubygems.org"
gem 'pg'
gem "delayed_job_active_record"

gem "rails"
# DEPRECATION WARNING: ActiveRecord::Base.default_timezone is deprecated and will be removed in Rails 7.1.
# new change for delayed_job_active_record will be next release: https://github.com/collectiveidea/delayed_job_active_record/pull/216/files
if RUBY_VERSION < '2.7'
gem "rails"
else
gem "rails", '~> 7.0.0'
end

eval(File.read(File.join(File.dirname(__FILE__), 'test_gems.gemfile')))

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/libraries.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ gem 'faraday', '~> 1.0'
# gem 'faraday-httpclient'
# gem 'faraday-patron'

if RUBY_VERSION < '2.6'
if RUBY_VERSION < '2.7'
gem 'graphql', '< 1.13.0'
else
gem 'graphql'
Expand Down
1 change: 1 addition & 0 deletions test/run_tests/Dockerfile_alpine
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ RUN apk add --upgrade \
vim \
yaml \
zlib-dev \
yaml-dev \
icu-libs \
&& rm -rf /var/lib/apt/lists/*

Expand Down
1 change: 1 addition & 0 deletions test/run_tests/Dockerfile_amzlinux
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ RUN yum update -y && yum install -y \
tree \
bison \
libxml2-devel \
libyaml-devel \
libxslt-devel \
&& rm -rf /var/lib/apt/lists/*

Expand Down
1 change: 1 addition & 0 deletions test/run_tests/Dockerfile_debian
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN apt-get update \
vim \
zlib1g-dev \
libxslt1-dev \
libyaml-dev \
libxml2-dev \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 280aba3

Please sign in to comment.