-
-
Notifications
You must be signed in to change notification settings - Fork 32
52 lines (46 loc) · 1.11 KB
/
continuous-integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: "Continuous Integration"
on:
pull_request:
push:
branches:
tags:
jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@f25365c8538fd59ba0c3f8bb52e5a22e20f6fc39 # 1.25.0
qa:
name: QA Checks
needs: [matrix]
runs-on: ${{ matrix.operatingSystem }}
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
steps:
- name: ${{ matrix.name }}
uses: laminas/laminas-continuous-integration-action@4ff5d8c2b58817008e8b436241093c2321875a7f # 1.39.0
with:
job: ${{ matrix.job }}
services:
memcached:
image: memcached
ports:
- 11211:11211
mongodb:
image: mongo
ports:
- 27017:27017
rabbitmq:
image: rabbitmq
ports:
- 5672:5672
redis:
image: redis
ports:
- 6379:6379
options: --entrypoint redis-server