forked from decidim/decidim
-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (38 loc) · 944 Bytes
/
ci_api.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "[CI] Api"
on:
push:
branches:
- develop
- release/*
- "*-stable"
pull_request:
branches-ignore:
- "chore/l10n*"
paths:
- "*"
- ".github/**"
- "decidim-api/**"
- "decidim-comments/**"
- "decidim-core/**"
- "decidim-dev/**"
- "decidim-participatory_processes/**"
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:
needs: build_app
name: Tests
uses: ./.github/workflows/test_app.yml
secrets: inherit
with:
working-directory: "decidim-api"
test_command: bundle exec parallel_test --type rspec --pattern spec/
bullet_enabled: true
bullet_counter_cache: true
bullet_n_plus_one: true
bullet_unused_eager_loading: true