-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcider-ci.yml
79 lines (73 loc) · 2.12 KB
/
cider-ci.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
include: container-build/cider-ci.yml
jobs:
build-mail-uberjar:
name: Build mail uberjar
run_when:
any branch has been updated:
type: branch
include_match: ^.*$
exclude_match: "^.*(no-ci|hotspot).*$"
context: { include: cider-ci/uberjar_job-context.yml }
specs-without-fake-smtp-server:
name: Run specs WITHOUT fake smtp server
include: cider-ci/specs_job-defaults.yml
context: { include: cider-ci/specs-without-smtp_job-context.yml }
specs-with-fake-smtp-server:
name: Run specs WITH fake smtp server
include: cider-ci/specs_job-defaults.yml
context: { include: cider-ci/specs-with-smtp_job-context.yml }
lint:
name: "Linting"
description: |
Code checks: static checks and metrics: complexity, duplication, and format,
also other consistency checks.
priority: 3
run_when:
any branch has been updated:
type: branch
include_match: ^.*$
exclude_match: "^.*(no-ci|hotspot).*$"
context:
task_defaults:
git_options:
submodules:
include_match: ^.*$
tasks:
cljc-lint:
scripts:
test:
body: |
#!/usr/bin/env bash
set -euo pipefail
./bin/cljfmt check
ruby-lint:
scripts:
test:
body: |
#!/usr/bin/env bash
set -euo pipefail
./bin/rblint
good-to-merge:
name: ⚑ Good To Merge
description: |
This job depends on all other tests and checks
and it will pass if and only if all dependencies have passed.
Status of this job is **used by github's "branch protection"**!
include: cider-ci/good-to-merge_job.yml
merged-to-master:
name: "Merged to master"
priority: 999
depends_on:
master branch matches:
type: branch
include_match: ^master$
run_when:
master branch matches:
type: branch
include_match: ^master$
context:
tasks:
merged-to-master:
scripts:
test:
body: "exit 0"