Skip to content

Commit 3e64cf7

Browse files
committed
fix(test workflow): test file name
1 parent a8209c8 commit 3e64cf7

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.github/README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# OpenEMR Docker Testing
22

3-
## Workflow: Production Docker Test (test-prod.yml)
3+
## Unified Docker Test Workflow
44

5-
The `test-prod.yml` workflow verifies that the production OpenEMR Docker images can be built correctly and function with a database connection. These images have the OpenEMR code embedded within them and are identified by version numbers (e.g., 7.0.4).
5+
The Docker test workflow combines both production and flex image testing into a single workflow file.
66

7-
The workflow performs the following steps:
7+
### Production Docker Tests
8+
9+
This part of the workflow verifies that the production OpenEMR Docker images can be built correctly and function with a database connection. These images have the OpenEMR code embedded within them and are identified by version numbers (e.g., 7.0.4).
10+
11+
The workflow performs the following steps for production images:
812

913
1. Builds OpenEMR Docker images defined in docker/openemr for numbered versions (e.g., 6.1.0, 7.0.4)
1014
2. Sets up a test environment using Docker Compose with:
@@ -14,17 +18,17 @@ The workflow performs the following steps:
1418
4. Runs the OpenEMR installation process
1519
5. Executes multiple test suites including unit, fixtures, services, validators, and controllers tests
1620

17-
### Triggers for Production Tests
21+
#### Triggers for Production Tests
1822

19-
The workflow runs automatically when:
23+
The production tests run automatically when:
2024
- Files in the `docker/openemr/[0-9]*.[0-9]*.[0-9]/**` directory are changed on the main branch
2125
- A pull request targeting the main branch changes files in the numbered version directories
2226

23-
## Workflow: Flex Docker Test (test-flex.yml)
27+
### Flex Docker Tests
2428

25-
The `test-flex.yml` workflow tests the development-oriented "flex" Docker images. Unlike production images, flex builds don't embed the OpenEMR code within the image - they're designed for development purposes where the code is mounted separately.
29+
This part of the workflow tests the development-oriented "flex" Docker images. Unlike production images, flex builds don't embed the OpenEMR code within the image - they're designed for development purposes where the code is mounted separately.
2630

27-
The workflow performs the following steps:
31+
The workflow performs the following steps for flex images:
2832

2933
1. Checks out both the openemr-devops repository and the OpenEMR code repository
3034
2. Builds the flex Docker images defined in docker/openemr
@@ -33,8 +37,8 @@ The workflow performs the following steps:
3337
- OpenEMR container with mounted code
3438
4. Verifies that the web server is responding correctly
3539

36-
### Triggers for Flex Tests
40+
#### Triggers for Flex Tests
3741

38-
The workflow runs automatically when:
42+
The flex tests run automatically when:
3943
- Files in the `docker/openemr/**` directory are changed on the main branch
4044
- A pull request targeting the main branch changes files in the docker/openemr directory

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
branches:
66
- master
77
paths:
8-
- '.github/workflows/test-prod.yml'
8+
- '.github/workflows/test.yml'
99
- 'docker/openemr/[0-9]*.[0-9]*.[0-9]/**'
1010
- 'docker/openemr/flex-*/**'
1111
pull_request:
1212
branches:
1313
- master
1414
paths:
15-
- '.github/workflows/test-prod.yml'
15+
- '.github/workflows/test.yml'
1616
- 'docker/openemr/[0-9]*.[0-9]*.[0-9]/**'
1717
- 'docker/openemr/flex-*/**'
1818

0 commit comments

Comments
 (0)