fix: for e2e testing ensure login working prior to doing subsequent t… #1095
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_114: | |
name: PHP 8.1 - Apache - MariaDB 11.4 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_81_114 | |
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@v4 | |
- 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@v4 | |
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_114: | |
name: PHP 8.2 - Apache - MariaDB 11.4 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_82_114 | |
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@v4 | |
- 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@v4 | |
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_114: | |
name: PHP 8.3 - Apache - MariaDB 11.4 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_114 | |
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@v4 | |
- 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@v4 | |
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@v4 | |
- 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@v4 | |
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@v4 | |
- 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@v4 | |
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@v4 | |
- 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@v4 | |
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@v4 | |
- 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@v4 | |
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_84: | |
name: PHP 8.3 - Apache - MySQL 8.4 | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_DIR: apache_83_84 | |
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@v4 | |
- 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@v4 | |
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@v4 | |
- 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@v4 | |
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@v4 | |
- 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@v4 | |
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 11.4 | |
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@v4 | |
- 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@v4 | |
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 11.4 | |
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@v4 | |
- 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@v4 | |
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 11.4 | |
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@v4 | |
- 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@v4 | |
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 11.4 (skipping E2e testing at this time) | |
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@v4 | |
- 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@v4 | |
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 (skipping at this time for PHP 8.4-dev) | |
run: | | |
echo "SKIPPING THIS TEST FOR NOW UNTIL IT STARTS WORKING IN FUTURE FOR PHP 8.4-dev" | |
# 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() }} |