Skip to content

Fix Failing specs (#11419) #1946

Fix Failing specs (#11419)

Fix Failing specs (#11419) #1946

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 }}