Merge branch 'release/0.30-stable' of github.com:decidim/decidim into… #404
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "[CI] Admin" | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - release/* | |
| - "*-stable" | |
| pull_request: | |
| branches-ignore: | |
| - "chore/l10n*" | |
| paths: | |
| - "*" | |
| - ".github/**" | |
| - "decidim-admin/**" | |
| - "decidim-core/**" | |
| - "decidim-dev/**" | |
| - "decidim-participatory_processes/**" | |
| 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/ --exclude-pattern 'spec/(system|lib)' | |
| name: "Tests without system specs" | |
| - command: bundle exec parallel_test --type rspec --pattern spec/lib | |
| name: "Lib specs" | |
| - command: bundle exec parallel_test --type rspec --pattern spec/system | |
| name: "Tests with system specs" | |
| needs: build_app | |
| name: ${{ matrix.test.name }} | |
| uses: ./.github/workflows/test_app.yml | |
| secrets: inherit | |
| with: | |
| working-directory: "decidim-admin" | |
| test_command: ${{ matrix.test.command }} | |
| bullet_n_plus_one: false | |
| bullet_unused_eager_loading: false |