Weno fixes and validations (#7209) #609
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
build_apache_81_1011: | |
name: PHP 8.1 - Apache - MariaDB 10.11 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_81_1011 | |
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@v3 | |
- 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@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_82_1011: | |
name: PHP 8.2 - Apache - MariaDB 10.11 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_82_1011 | |
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@v3 | |
- 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@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_112: | |
name: PHP 8.3 - Apache - MariaDB 11.2 (short term release) | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_112 | |
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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_111: | |
name: PHP 8.3 - Apache - MariaDB 11.1 (short term release) | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_111 | |
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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_110: | |
name: PHP 8.3 - Apache - MariaDB 11.0 (short term release) | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_110 | |
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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_1011: | |
name: PHP 8.3 - Apache - MariaDB 10.11 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_1011 | |
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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_106: | |
name: PHP 8.3 - Apache - MariaDB 10.6 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_105: | |
name: PHP 8.3 - Apache - MariaDB 10.5 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_104: | |
name: PHP 8.3 - Apache - MariaDB 10.4 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_82: | |
name: PHP 8.3 - Apache - MySQL 8.2 (short term release) | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_82 | |
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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_80: | |
name: PHP 8.3 - Apache - MySQL 8.0 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_80 | |
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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83_57: | |
name: PHP 8.3 - Apache - MySQL 5.7 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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.11 | |
runs-on: ubuntu-22.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@v3 | |
- 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@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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.11 | |
runs-on: ubuntu-22.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@v3 | |
- 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@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_83: | |
name: PHP 8.3 - Nginx - MariaDB 10.11 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: nginx_83 | |
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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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_84: | |
name: PHP 8.4 - Nginx - MariaDB 10.11 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: nginx_84 | |
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@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.4' | |
- name: Report PHP Version | |
run: php -v | |
- name: Install npm package | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- name: Main build | |
run: | | |
source ci/ciLibrary.source | |
composer_github_auth | |
main_build | |
- name: CCDA build | |
run: | | |
source ci/ciLibrary.source | |
ccda_build | |
- name: Dockers environment start | |
run: | | |
source ci/ciLibrary.source | |
dockers_env_start | |
sleep 60 | |
- 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() }} |