-
-
Notifications
You must be signed in to change notification settings - Fork 33
52 lines (46 loc) · 1.07 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/[email protected]
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@9d21d8d78647a58a73b0f0f50a6076e418aac7fd # 1.35.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