Skip to content

Commit

Permalink
Merge branch 'release/0.27-stable' into 0.27-canada
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Dec 1, 2023
2 parents fed8f25 + 294d39d commit c429b20
Show file tree
Hide file tree
Showing 2,512 changed files with 58,710 additions and 12,926 deletions.
2 changes: 1 addition & 1 deletion .decidim-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.27.0.rc1
0.27.4
6 changes: 3 additions & 3 deletions .github/actions/module-rspec/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ inputs:
runs:
using: "composite"
steps:
- uses: rokroskar/[email protected].0
- uses: rokroskar/[email protected].3
if: "github.ref != 'refs/heads/develop'"
env:
GITHUB_TOKEN: " ${{ inputs.github_token }}"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ inputs.ruby_version }}
bundler-cache: true
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node_version }}
- name: Get npm cache directory path
Expand All @@ -51,7 +51,7 @@ runs:
- run: mkdir -p ./spec/decidim_dummy_app/tmp/screenshots
name: Create the screenshots folder
shell: "bash"
- uses: nanasess/setup-chromedriver@v1.0.1
- uses: nanasess/setup-chromedriver@v2
- run: RAILS_ENV=test bundle exec rails assets:precompile
name: Precompile assets
working-directory: ./spec/decidim_dummy_app/
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_accountability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-accountability
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -70,8 +71,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-admin
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -61,8 +62,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_admin_system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-admin
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -65,8 +66,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-api
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -62,8 +63,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_assemblies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-assemblies
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -65,8 +66,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_blogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-blogs
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -68,8 +69,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_budgets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-budgets
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -67,8 +68,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-comments
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -65,8 +66,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_conferences.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-conferences
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -66,8 +67,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_consultations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-consultations
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -66,8 +67,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci_core_lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-core
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -61,8 +62,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: decidim-core-lib
flags: decidim-core-lib
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/ci_core_system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ env:
DECIDIM_MODULE: decidim-core
PARALLEL_TEST_PROCESSORS: 2
DECIDIM_SERVICE_WORKER_ENABLED: true
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

jobs:
main:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: "!startsWith(github.head_ref, 'chore/l10n')"
timeout-minutes: 60
services:
Expand Down Expand Up @@ -62,14 +63,18 @@ jobs:
node_version: ${{ env.NODE_VERSION }}
- run: |
sudo Xvfb -ac $DISPLAY -screen 0 1920x1084x24 > /dev/null 2>&1 & # optional
bundle exec rake parallel:spec[^spec/system]
bundle exec rspec spec/system
name: RSpec
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
DISPLAY: ":99"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: decidim-core-system
flags: decidim-core-system
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
Loading

0 comments on commit c429b20

Please sign in to comment.