Skip to content

Optimize the proposals loading performance #39

Optimize the proposals loading performance

Optimize the proposals loading performance #39

Workflow file for this run

name: "[CI] Core"
on:
push:
branches:
- develop
- release/*
- "*-stable"
pull_request:
branches-ignore:
- "chore/l10n*"
paths:
- "*"
- ".github/**"
- "decidim-api/**"
- "decidim-core/**"
- "decidim-dev/**"
- "packages/**"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build_app:
uses: ./.github/workflows/build_app.yml
secrets: inherit
name: Build test application
main:
strategy:
fail-fast: false
matrix:
test-command:
- bundle exec parallel_test --type rspec --pattern spec/lib
- bundle exec parallel_test --type rspec --pattern spec/system
- bundle exec parallel_test --type rspec --pattern spec/ --exclude-pattern 'spec/(system|lib|tasks)'
- bundle exec parallel_test --type rspec --pattern spec/tasks --exclude-pattern 'spec/tasks/decidim_tasks_webpacker_spec.rb'
- bundle exec rspec spec/tasks/decidim_tasks_webpacker_spec.rb
needs: build_app
name: Tests
uses: ./.github/workflows/test_app.yml
secrets: inherit
with:
working-directory: "decidim-core"
test_command: ${{ matrix.test-command }}
bullet_n_plus_one: false
bullet_unused_eager_loading: false