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

Upgrade to version 0.28 #193

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# See https://git-scm.com/docs/gitattributes for more about git attribute files.

# Mark the database schema as having been generated.
db/schema.rb linguist-generated

# Mark any vendored files as having been vendored.
vendor/* linguist-vendored
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:
pull_request:

env:
RUBY_VERSION: 3.0.6
NODE_VERSION: 16.9.1
RUBY_VERSION: 3.1.6
NODE_VERSION: 18.17.1

jobs:
lint-report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
24 changes: 11 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ on:
pull_request:

env:
RUBY_VERSION: 3.0.6
NODE_VERSION: 16.9.1
CI: 1
SIMPLECOV: 1
NODE_VERSION: 18.17.1
RUBY_VERSION: 3.1.6
DISPLAY: ":99"
RUBYOPT: '-W:no-deprecated'
RAILS_ENV: test
NODE_ENV: test

jobs:
test-report:
Expand Down Expand Up @@ -38,7 +44,7 @@ jobs:

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

- name: List Chrome
run: apt list --installed | grep chrome
Expand All @@ -48,7 +54,7 @@ jobs:

- uses: browser-actions/setup-chrome@v1
with:
chrome-version: 119.0.6045.105
chrome-version: 126.0.6478.182

- uses: ruby/setup-ruby@v1
with:
Expand All @@ -58,10 +64,6 @@ jobs:
- name: Setup & create Database
run: |
bundle exec rails db:create db:schema:load
env:
RAILS_ENV: test
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres

- uses: actions/setup-node@master
with:
Expand All @@ -75,8 +77,4 @@ jobs:
RAILS_ENV: test

- name: Run RSpec
run: SIMPLECOV=1 CODECOV=1 bundle exec rspec
env:
RAILS_ENV: test
DATABASE_USERNAME: postgres
DATABASE_PASSWORD: postgres
run: bundle exec rspec
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal
/db/*.sqlite3-*

# Ignore all logfiles and tempfiles.
/log/*
Expand All @@ -31,8 +31,6 @@ yarn-debug.log*

# Ignore master key for decrypting credentials and more.
/config/master.key
# Ignore figaro secrets
config/application.yml

# Ignore public uploads
public/uploads/*
Expand All @@ -52,4 +50,5 @@ config/deploy*
/public/decidim-packs-test
/public/sw.js*

coverage/*
coverage/*
.byebug*
15 changes: 0 additions & 15 deletions .mdl_style.rb

This file was deleted.

1 change: 0 additions & 1 deletion .mdlrc

This file was deleted.

1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.17.1
14 changes: 11 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
inherit_from:
- .rubocop_ruby.yml
- .rubocop_rails.yml
inherit_gem:
decidim-dev: rubocop-decidim.yml

AllCops:
Exclude:
- 'db/**/*'
- 'vendor/**/*'

RSpec/DescribeClass:
Exclude:
- 'spec/system/**/*'
87 changes: 0 additions & 87 deletions .rubocop_rails.yml

This file was deleted.

Loading
Loading