You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1297 lines
32 KiB
1297 lines
32 KiB
name: Test |
|
|
|
on: |
|
push: |
|
branches: [ rel-700 ] |
|
pull_request: |
|
branches: [ rel-700 ] |
|
|
|
jobs: |
|
|
|
build_apache_74_106: |
|
name: PHP 7.4 - Apache - MariaDB 10.6 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_74_106 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '7.4' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_apache_81_106: |
|
name: PHP 8.1 - Apache - MariaDB 10.6 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_81_106 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.1' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_apache_80_108: |
|
name: PHP 8.0 - Apache - MariaDB 10.8 (short term release) |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_80_108 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.0' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_apache_80_107: |
|
name: PHP 8.0 - Apache - MariaDB 10.7 (short term release) |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_80_107 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.0' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_apache_80_106: |
|
name: PHP 8.0 - Apache - MariaDB 10.6 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_80_106 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.0' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_apache_80_105: |
|
name: PHP 8.0 - Apache - MariaDB 10.5 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_80_105 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.0' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_apache_80_104: |
|
name: PHP 8.0 - Apache - MariaDB 10.4 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_80_104 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.0' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_apache_80_103: |
|
name: PHP 8.0 - Apache - MariaDB 10.3 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_80_103 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.0' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_apache_80_8: |
|
name: PHP 8.0 - Apache - MySQL 8 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_80_8 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.0' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_apache_80_57: |
|
name: PHP 8.0 - Apache - MySQL 5.7 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: apache_80_57 |
|
OPENEMR_DIR: /var/www/localhost/htdocs/openemr |
|
CHROMIUM_INSTALL: "apk update; apk add --no-cache chromium chromium-chromedriver; export PANTHER_CHROME_DRIVER_BINARY=/usr/lib/chromium/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.0' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_nginx_74: |
|
name: PHP 7.4 - Nginx - MariaDB 10.6 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: nginx_74 |
|
OPENEMR_DIR: /usr/share/nginx/html/openemr |
|
CHROMIUM_INSTALL: "apt-get update; apt-get install -y chromium-driver; export PANTHER_CHROME_DRIVER_BINARY=/usr/bin/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '7.4' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_nginx_8: |
|
name: PHP 8.0 - Nginx - MariaDB 10.6 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: nginx_80 |
|
OPENEMR_DIR: /usr/share/nginx/html/openemr |
|
CHROMIUM_INSTALL: "apt-get update; apt-get install -y chromium-driver; export PANTHER_CHROME_DRIVER_BINARY=/usr/bin/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.0' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_nginx_81: |
|
name: PHP 8.1 - Nginx - MariaDB 10.6 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: nginx_81 |
|
OPENEMR_DIR: /usr/share/nginx/html/openemr |
|
CHROMIUM_INSTALL: "apt-get update; apt-get install -y chromium-driver; export PANTHER_CHROME_DRIVER_BINARY=/usr/bin/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.1' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }} |
|
|
|
build_nginx_82: |
|
name: PHP 8.2 - Nginx - MariaDB 10.6 |
|
runs-on: ubuntu-20.04 |
|
env: |
|
DOCKER_DIR: nginx_82 |
|
OPENEMR_DIR: /usr/share/nginx/html/openemr |
|
CHROMIUM_INSTALL: "apt-get update; apt-get install -y chromium-driver; export PANTHER_CHROME_DRIVER_BINARY=/usr/bin/chromedriver" |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install PHP |
|
uses: shivammathur/setup-php@v2 |
|
with: |
|
php-version: '8.2' |
|
|
|
- name: Report PHP Version |
|
run: php -v |
|
|
|
- name: Install npm package |
|
uses: actions/setup-node@v1 |
|
with: |
|
node-version: '16' |
|
|
|
- name: Dockers environment start |
|
run: | |
|
source ci/ciLibrary.source |
|
dockers_env_start |
|
|
|
- name: Main build |
|
run: | |
|
source ci/ciLibrary.source |
|
composer_github_auth |
|
main_build |
|
|
|
- name: CCDA build |
|
run: | |
|
source ci/ciLibrary.source |
|
ccda_build |
|
|
|
- name: Install and configure |
|
run: | |
|
source ci/ciLibrary.source |
|
install_configure |
|
|
|
- name: Unit testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_unit |
|
if: ${{ success() || failure() }} |
|
|
|
- name: E2e testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_e2e |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Api testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_api |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Fixtures testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_fixtures |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Services testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_services |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Validators testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_validators |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Controllers testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_controllers |
|
if: ${{ success() || failure() }} |
|
|
|
- name: Common testing |
|
run: | |
|
source ci/ciLibrary.source |
|
build_test_common |
|
if: ${{ success() || failure() }}
|
|
|