Skip to content

Commit

Permalink
Fix Usage of module_installed? (#9)
Browse files Browse the repository at this point in the history
* Fix Usage of module_installed?

* Fix initializers

* Remove dependency resolver

* Update dependencies

* Fix seeds

* Add token validations

* Fix wrong method call

* Lock version 0.26

* Fix chrome driver

* Update decidim version

* Fix failing specs

* Fix failing specs
  • Loading branch information
alecslupu authored Jan 5, 2024
1 parent 002e454 commit 16b223c
Show file tree
Hide file tree
Showing 19 changed files with 616 additions and 344 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
env:
RUBY_VERSION: 2.7.5
NODE_VERSION: 16.9.1
BUNDLE_GEMFILE: gemfiles/decidim_0.26.gemfile

jobs:
lint-report:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
DATABASE_HOST: localhost
BUNDLE_GEMFILE: gemfiles/decidim_0.26.gemfile
RUBY_VERSION: 2.7.5

steps:
Expand Down
24 changes: 6 additions & 18 deletions .github/workflows/test_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,22 @@ jobs:
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
DATABASE_HOST: localhost
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
RUBY_VERSION: ${{ matrix.ruby }}
RUBY_VERSION: 2.7.5

strategy:
matrix:
gemfile:
- gemfiles/decidim_0.26.gemfile
- gemfiles/decidim_0.27.gemfile
ruby:
- 2.7.5
- 3.0.2
exclude:
- gemfile: gemfiles/decidim_0.26.gemfile
ruby: 3.0.2
- gemfile: gemfiles/decidim_0.27.gemfile
ruby: 2.7.5
- gemfile: gemfiles/decidim_0.27.gemfile
ruby: 3.0.2
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
ruby-version: 2.7.5
bundler-cache: true

- uses: nanasess/setup-chromedriver@v2
with:
chromedriver-version: 119.0.6045.105

- name: Setup Database
run: bundle exec rake test_app

Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.5
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ source "https://rubygems.org"

ruby RUBY_VERSION

gem "decidim", github: "decidim/decidim", ref: "release/0.26-stable"
gem "decidim", "~> 0.26"
gem "decidim-custom_proposal_states", path: "."
gem "decidim-elections", github: "decidim/decidim", ref: "release/0.26-stable"
gem "decidim-elections", "~> 0.26"

gem "bootsnap"
gem "uglifier", "~> 4.1"

group :development, :test do
gem "faker"

gem "decidim-dev", github: "decidim/decidim", ref: "release/0.26-stable"
gem "decidim-dev", "~> 0.26"

gem "rubocop-performance"
gem "simplecov", require: false
Expand Down
Loading

0 comments on commit 16b223c

Please sign in to comment.