File tree Expand file tree Collapse file tree 1 file changed +38
-2
lines changed
Expand file tree Collapse file tree 1 file changed +38
-2
lines changed Original file line number Diff line number Diff line change 77 tags :
88
99jobs :
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
You can’t perform that action at this time.
0 commit comments