Skip to content

Commit 717a9c7

Browse files
Merge pull request #52 from renatomefi/feature/github-actions
Initialize GitHub Actions
2 parents 0c1b7fb + deaa633 commit 717a9c7

File tree

2 files changed

+96
-71
lines changed

2 files changed

+96
-71
lines changed

.circleci/config.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.github/workflows/test.yaml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches: ["master"]
6+
push:
7+
branches: ["master"]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
17+
- name: lint
18+
run: make lint
19+
20+
test-71:
21+
name: php-7.1
22+
runs-on: ubuntu-latest
23+
needs: lint
24+
steps:
25+
26+
- name: Checkout
27+
uses: actions/checkout@v2
28+
29+
- name: alpine-3.7
30+
run: make test-image IMAGE="php:7.1-fpm-alpine3.7" DOCKERFILE="alpine"
31+
32+
- name: alpine-3.8
33+
run: make test-image IMAGE="php:7.1-fpm-alpine3.8" DOCKERFILE="alpine"
34+
35+
- name: stretch
36+
run: make test-image IMAGE="php:7.1-fpm-stretch" DOCKERFILE="stretch"
37+
38+
test-72:
39+
name: php-7.2
40+
runs-on: ubuntu-latest
41+
needs: lint
42+
steps:
43+
44+
- name: Checkout
45+
uses: actions/checkout@v2
46+
47+
- name: alpine-3.7
48+
run: make test-image IMAGE="php:7.2-fpm-alpine3.7" DOCKERFILE="alpine"
49+
50+
- name: alpine-3.8
51+
run: make test-image IMAGE="php:7.2-fpm-alpine3.8" DOCKERFILE="alpine"
52+
53+
- name: stretch
54+
run: make test-image IMAGE="php:7.2-fpm-stretch" DOCKERFILE="stretch"
55+
56+
test-73:
57+
name: php-7.3
58+
runs-on: ubuntu-latest
59+
needs: lint
60+
steps:
61+
62+
- name: Checkout
63+
uses: actions/checkout@v2
64+
65+
- name: alpine-3.8
66+
run: make test-image IMAGE="php:7.3-fpm-alpine3.8" DOCKERFILE="alpine"
67+
68+
- name: alpine-3.9
69+
run: make test-image IMAGE="php:7.3-fpm-alpine3.9" DOCKERFILE="alpine"
70+
71+
- name: alpine-3.10
72+
run: make test-image IMAGE="php:7.3-fpm-alpine3.10" DOCKERFILE="alpine"
73+
74+
- name: alpine-3.11
75+
run: make test-image IMAGE="php:7.3-fpm-alpine3.11" DOCKERFILE="alpine"
76+
77+
- name: stretch
78+
run: make test-image IMAGE="php:7.3-fpm-stretch" DOCKERFILE="stretch"
79+
80+
test-74:
81+
name: php-7.4
82+
runs-on: ubuntu-latest
83+
needs: lint
84+
steps:
85+
86+
- name: Checkout
87+
uses: actions/checkout@v2
88+
89+
- name: alpine-3.10
90+
run: make test-image IMAGE="php:7.4-fpm-alpine3.10" DOCKERFILE="alpine"
91+
92+
- name: alpine-3.11
93+
run: make test-image IMAGE="php:7.4-fpm-alpine3.11" DOCKERFILE="alpine"
94+
95+
- name: buster
96+
run: make test-image IMAGE="php:7.4-fpm-buster" DOCKERFILE="buster"

0 commit comments

Comments
 (0)