forked from department-of-veterans-affairs/va.gov-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests.yml
48 lines (37 loc) · 1.43 KB
/
tests.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
# If any of these test names get updated they need to be updated here too
# https://github.com/department-of-veterans-affairs/va.gov-cms/settings/branch_protection_rules
# va/error:
# command: intentionalFailure
# description: Intentional Failure. Uncomment to test CI system failure behavior.
va/tests/phplint:
description: PHP Lint
command: composer va:test:lint
va/tests/phpunit:
description: PHPUnit
command: phpunit --exclude-group disabled tests/phpunit --colors=always
va/tests/accessibility:
description: accessibility test with cypress-axe for 508 compliance
command: composer va:test:accessibility
va/tests/behavioral:
description: behavioral tests with cypress
command: composer va:test:behavioral
va/web/install:
description: Install VA.gov node environment
command: composer va:web:install
va/web/build:
description: Build VA.gov Front-end
command: ./tests/scripts/build-web.sh
va/tests/behat:
description: Behat Tests
command: |
cd tests/behat
behat --colors
va/tests/revision-log:
description: Ensure revision log field is present
command: ./tests/scripts/check-revision-logs.sh
va/tests/check-cer:
description: Ensure cer fields exist
command: ./tests/scripts/check-cer.sh
va/tests/status-error:
description: Check for Drupal status errors
command: "drush $DRUSH_ALIAS core-requirements --severity=2 | grep . && exit 1 || echo 'Success: No Drupal status requirement errors were found.'"