[pull] develop from decidim:develop #1947
This file contains 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] Initiatives (unit tests)" | |
on: | |
push: | |
branches: | |
- develop | |
- release/* | |
- "*-stable" | |
pull_request: | |
branches-ignore: | |
- "chore/l10n*" | |
paths: | |
- "*" | |
- ".github/**" | |
- "decidim-admin/**" | |
- "decidim-comments/**" | |
- "decidim-core/**" | |
- "decidim-dev/**" | |
- "decidim-initiatives/**" | |
- "decidim-verifications/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
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 | |
- bundle exec parallel_test --type rspec --pattern spec/system --exclude-pattern spec/system/admin | |
- bundle exec parallel_test --type rspec --pattern spec/system/admin | |
needs: build_app | |
name: Tests | |
uses: ./.github/workflows/test_app.yml | |
secrets: inherit | |
with: | |
working-directory: "decidim-initiatives" | |
test_command: ${{ matrix.test-command }} |