Skip to content
Snippets Groups Projects
Commit d1dd6a81 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3194401: Switch to CircleCI as the default automated testing platform

parent 044db012
No related branches found
No related tags found
No related merge requests found
...@@ -155,10 +155,17 @@ defaults: &defaults ...@@ -155,10 +155,17 @@ defaults: &defaults
drush config-set system.performance js.preprocess 0 --yes drush config-set system.performance js.preprocess 0 --yes
drush config-set system.logging error_level all --yes drush config-set system.logging error_level all --yes
drush cr drush cr
## Automated Functional Acceptance Testing - Step 1 init tests.
- run:
name: Automated Functional Acceptance Testing - Step 1 init tests
no_output_timeout: 30m
command: |
cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
jobs: jobs:
varbase-build: varbase-build:
<<: *defaults <<: *defaults
varbase-testing-01: varbase-testing-website-base-requirements:
<<: *defaults <<: *defaults
steps: steps:
## Automated Functional Acceptance Testing group - 01 website base requirements ## Automated Functional Acceptance Testing group - 01 website base requirements
...@@ -167,9 +174,8 @@ jobs: ...@@ -167,9 +174,8 @@ jobs:
no_output_timeout: 30m no_output_timeout: 30m
command: | command: |
cd /var/www/html/varbase/docroot/profiles/varbase cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/01-website-base-requirements/ behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/01-website-base-requirements/
varbase-testing-02: varbase-testing-02-user-management:
<<: *defaults <<: *defaults
steps: steps:
## Automated Functional Acceptance Testing group - 02 user management ## Automated Functional Acceptance Testing group - 02 user management
...@@ -178,9 +184,8 @@ jobs: ...@@ -178,9 +184,8 @@ jobs:
no_output_timeout: 30m no_output_timeout: 30m
command: | command: |
cd /var/www/html/varbase/docroot/profiles/varbase cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/02-user-management/ behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/02-user-management/
varbase-testing-03: varbase-testing-03-admin-management:
<<: *defaults <<: *defaults
steps: steps:
## Automated Functional Acceptance Testing group - 03 admin management ## Automated Functional Acceptance Testing group - 03 admin management
...@@ -189,9 +194,8 @@ jobs: ...@@ -189,9 +194,8 @@ jobs:
no_output_timeout: 30m no_output_timeout: 30m
command: | command: |
cd /var/www/html/varbase/docroot/profiles/varbase cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/03-admin-management/ behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/03-admin-management/
varbase-testing-04: varbase-testing-04-content-structure:
<<: *defaults <<: *defaults
steps: steps:
## Automated Functional Acceptance Testing group - 04 content structure ## Automated Functional Acceptance Testing group - 04 content structure
...@@ -200,9 +204,8 @@ jobs: ...@@ -200,9 +204,8 @@ jobs:
no_output_timeout: 30m no_output_timeout: 30m
command: | command: |
cd /var/www/html/varbase/docroot/profiles/varbase cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/04-content-structure/ behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/04-content-structure/
varbase-testing-05: varbase-testing-05-content-management:
<<: *defaults <<: *defaults
steps: steps:
## Automated Functional Acceptance Testing group - 05 content-management ## Automated Functional Acceptance Testing group - 05 content-management
...@@ -211,25 +214,24 @@ jobs: ...@@ -211,25 +214,24 @@ jobs:
no_output_timeout: 30m no_output_timeout: 30m
command: | command: |
cd /var/www/html/varbase/docroot/profiles/varbase cd /var/www/html/varbase/docroot/profiles/varbase
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step1-init-tests/
behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/05-content-management/ behat --strict --no-snippets -f pretty -o std tests/features/varbase/step2-apply-tests/05-content-management/
workflows: workflows:
varbase-workflow: varbase-workflow:
jobs: jobs:
- varbase-build - varbase-build
- varbase-testing-01: - varbase-testing-01-website-base-requirements:
requires: requires:
- varbase-build - varbase-build
- varbase-testing-02: - varbase-testing-02-user-management:
requires: requires:
- varbase-build - varbase-build
- varbase-testing-03: - varbase-testing-03-admin-management:
requires: requires:
- varbase-build - varbase-build
- varbase-testing-04: - varbase-testing-04-content-structure:
requires: requires:
- varbase-build - varbase-build
- varbase-testing-05: - varbase-testing-05-content-management:
requires: requires:
- varbase-build - varbase-build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment