-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.yaml
120 lines (119 loc) · 3.09 KB
/
test.yaml
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
schemaVersion: "2.0.0"
commandTests:
- name: "SSH Agent"
command: "which"
args: ["ssh-agent"]
expectedOutput: ["/usr/bin/ssh-agent"]
- name: "Rsync"
command: "rsync"
args: ["--version"]
expectedOutput: ["rsync version 3"]
- name: "Curl"
command: "curl"
args: ["--version"]
expectedOutput: ["curl 7"]
- name: "Docker"
command: "docker"
args: ["--version"]
expectedOutput: ["Docker version ###DOCKER_VERSION###"]
- name: "Docker-Compose"
command: "docker-compose"
args: ["--version"]
expectedOutput: ["docker-compose version ###DOCKER_COMPOSE_VERSION###"]
- name: "PHP Version"
command: "php"
args: ["-v"]
expectedOutput: ["PHP ###PHP_VERSION###"]
- name: "No PHP errors"
command: "php"
args: ["-v"]
excludedOutput:
- "PHP Warning"
- "PHP Error"
- "PHP Fatal"
- name: "PHP modules are available"
command: "php"
args: ["-m"]
expectedOutput:
- "json"
- "soap"
- "intl"
- "bcmath"
- "zip"
- "xml"
- "Phar"
- "pdo_mysql"
- "pcre"
- "mbstring"
- "curl"
- "vips"
- name: "PATH variable"
command: "printenv"
args: ["PATH"]
expectedOutput:
- "/root/.composer/vendor/bin"
- "/usr/local/bin"
- name: "Composer"
command: "composer"
args: ["-V"]
expectedOutput: ["Composer"]
- name: "Check ansible"
command: "ansible"
args: ["--version"]
expectedOutput: ["ansible 2"]
- name: "Check git lfs"
command: "git-lfs"
args: ["version"]
expectedOutput: ["git-lfs"]
- name: "Check deployer"
command: "dep"
args: ["-v"]
expectedOutput: ["Deployer v6"]
- name: "Check XMLLint"
command: "xmllint"
args: ["-V"]
expectedOutput: ["Sclable Xml Lint"]
- name: "Check Security-Checker"
command: "security-checker"
args: ["-v"]
expectedOutput: ["SensioLabs Security Checker"]
- name: "Check PHPUnit"
command: "phpunit"
args: ["--version"]
expectedOutput: ["PHPUnit"]
- name: "Check PHP Codestyle Fixer"
command: "php-cs-fixer"
args: ["-V"]
expectedOutput: ["PHP CS Fixer"]
- name: "Check PHP Messdetector"
command: "phpmd"
args: ["--version"]
expectedOutput: ["PHPMD"]
- name: "Check PHP Copy paste detector"
command: "phpcpd"
args: ["--version"]
expectedOutput: ["phpcpd"]
- name: "Check PHP Static Code Analyzer"
command: "phpstan"
args: ["--version"]
expectedOutput: ["PHPStan - PHP Static Analysis Tool"]
- name: "Check PHP code sniffer"
command: "phpcs"
args: ["--version"]
expectedOutput: ["PHP_CodeSniffer"]
- name: "Check PHP parallel linter"
command: "parallel-lint"
args: ["--version"]
expectedOutput: ["Parallel Lint"]
- name: "Check NodeJS version"
command: "nodejs"
args: ["--version"]
expectedOutput: ["v###NODE_VERSION###"]
- name: "Check MySQL client version"
command: "mysql"
args: ["--version"]
expectedOutput: ["mysql Ver 8."]
- name: "Check AWS cli"
command: "which"
args: ["aws"]
expectedOutput: ["/usr/local/bin/aws"]