Skip to content

Commit

Permalink
add yet another mariadb short term release to ci (openemr#6004)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Dec 10, 2022
1 parent a4e773a commit d2e4d26
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 0 deletions.
92 changes: 92 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,98 @@ jobs:
build_test_common
if: ${{ success() || failure() }}

build_apache_81_1010:
name: PHP 8.1 - Apache - MariaDB 10.10 (short term release)
runs-on: ubuntu-20.04
env:
DOCKER_DIR: apache_81_1010
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_81_109:
name: PHP 8.1 - Apache - MariaDB 10.9 (short term release)
runs-on: ubuntu-20.04
Expand Down
22 changes: 22 additions & 0 deletions ci/apache_81_1010/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# docker-compose.yml for travis ci testing
version: '3.1'
services:
mysql:
restart: always
image: mariadb:10.10
command: ['mysqld','--character-set-server=utf8mb4']
environment:
MYSQL_ROOT_PASSWORD: root
openemr:
restart: always
image: openemr/openemr:flex-3.16
ports:
- 80:80
- 443:443
volumes:
- ../../:/var/www/localhost/htdocs/openemr
environment:
FORCE_NO_BUILD_MODE: "yes"
EMPTY: "yes"
depends_on:
- mysql

0 comments on commit d2e4d26

Please sign in to comment.