Skip to content

Commit

Permalink
Add term_customizer gem (#127)
Browse files Browse the repository at this point in the history
* Add term_customizer gem and fix versioning of other modules

* Migrations for term customizer

* Don't specify chromedriver version in test to match chrome version

* Chromedriver -v 129

* test in ubuntu-latest

* Fix for decidim issue #13513 and correct rubocop-ast in test environment

* Set chromedriver to v129 in test.yml

* set rubocop-ast to 1.31.2

* test in ubuntu-22.04

* config force_ssl=true in test environment

* config.force_ssl = false in test env

* Try ubuntu-20.04 in test.yml

* force chrome and chrome driver to v119

* force parser version

* update workflow test chromedriver version

* update ubuntu version and downgrade chrome version

* remove default chrome install in ubuntu

* Remove decidim-core and spring versioning from Gemfile

* Bundle with new Gemfile

* Remove parser and rubocop-ast from Gemfile

---------

Co-authored-by: David Igón <david.igon@riseup.net>
  • Loading branch information
HHassig and davidbeig authored Oct 15, 2024
1 parent 5e71c26 commit e502545
Show file tree
Hide file tree
Showing 9 changed files with 402 additions and 301 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ env:
RAILS_ENV: test
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
CHROME_VERSION: 119.0.6045.105

jobs:
test:
name: Test
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
services:
postgres:
image: postgres:11
Expand All @@ -38,7 +39,19 @@ jobs:

- uses: nanasess/setup-chromedriver@v2
with:
chromedriver-version: 119.0.6045.105
chromedriver-version: ${{ env.CHROME_VERSION }}

- name: List Chrome
shell: "bash"
run: apt list --installed | grep chrome

- name: Remove Chrome
shell: "bash"
run: sudo apt remove google-chrome-stable

- uses: browser-actions/setup-chrome@v1
with:
chrome-version: ${{ env.CHROME_VERSION }}

- name: Setup & create Database
run: |
Expand Down
10 changes: 5 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ gem "decidim-consultations", DECIDIM_VERSION

gem "decidim-catcomu_managers", path: "./decidim-module-catcomu_managers"

gem "decidim-alternative_landing", git: "https://github.com/Platoniq/decidim-module-alternative_landing"
gem "decidim-alternative_landing", git: "https://github.com/Platoniq/decidim-module-alternative_landing", branch: "release/0.27-stable"
gem "decidim-civicrm", git: "https://github.com/Platoniq/decidim-module-civicrm"
gem "decidim-decidim_awesome", "~> 0.10.2"
gem "decidim-direct_verifications", git: "https://github.com/Platoniq/decidim-verifications-direct_verifications"
gem "decidim-navigation_maps", git: "https://github.com/Platoniq/decidim-module-navigation_maps"
gem "decidim-navigation_maps", git: "https://github.com/Platoniq/decidim-module-navigation_maps", branch: "release/0.27-stable"
gem "decidim-term_customizer", git: "https://github.com/mainio/decidim-module-term_customizer", branch: "release/0.27-stable"

gem "bootsnap", "~> 1.11.0"
gem "health_check"
Expand All @@ -28,15 +29,14 @@ gem "rspec"

group :development, :test do
gem "byebug", "~> 11.0", platform: :mri
gem "rubocop-faker"

gem "decidim-dev", DECIDIM_VERSION
gem "rubocop-faker"
end

group :development do
gem "letter_opener_web", "~> 1.3"
gem "listen", "~> 3.1"
gem "spring", "~> 2.0"
gem "spring"
gem "spring-watcher-listen", "~> 2.0"
gem "web-console"
end
Expand Down
Loading

0 comments on commit e502545

Please sign in to comment.