Skip to content

Commit ef509e1

Browse files
committed
testing ci fixes
Signed-off-by: Joey Smith <jsmith@webinertia.net> Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent c54093e commit ef509e1

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,41 @@ on:
77
tags:
88

99
jobs:
10-
ci:
11-
uses: laminas/workflow-continuous-integration/.github/workflows/continuous-integration.yml@1.x
10+
matrix:
11+
name: Generate job matrix
12+
runs-on: ubuntu-latest
13+
outputs:
14+
matrix: ${{ steps.matrix.outputs.matrix }}
15+
steps:
16+
- name: Gather CI configuration
17+
id: matrix
18+
uses: laminas/laminas-ci-matrix-action@v1
19+
20+
qa:
21+
name: QA Checks
22+
needs: [matrix]
23+
runs-on: ${{ matrix.operatingSystem }}
24+
strategy:
25+
fail-fast: false
26+
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
27+
steps:
28+
- name: ${{ matrix.name }}
29+
uses: laminas/laminas-continuous-integration-action@v1
30+
with:
31+
job: ${{ matrix.job }}
32+
services:
33+
mysql:
34+
image: mysql:8.0
35+
env:
36+
MYSQL_ROOT_PASSWORD: 'password'
37+
MYSQL_ROOT_HOST: '%'
38+
MYSQL_USER: 'gha'
39+
MYSQL_PASSWORD: 'password'
40+
MYSQL_DATABASE: 'laminasdb_test'
41+
options: >-
42+
--health-cmd="mysqladmin ping"
43+
--health-interval 10s
44+
--health-timeout 5s
45+
--health-retries 3
46+
ports:
47+
- 3306

0 commit comments

Comments
 (0)