Skip to content

Commit f7a4c40

Browse files
committed
Initialize GitHub Actions
1 parent 0c1b7fb commit f7a4c40

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches: ["master"]
6+
push:
7+
branches: ["master"]
8+
9+
jobs:
10+
test-71:
11+
name: PHP 7.1
12+
runs-on: ubuntu-latest
13+
steps:
14+
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Alpine 3.7
19+
run: make test-image IMAGE="php:7.1-fpm-alpine3.7" DOCKERFILE="alpine"
20+
21+
- name: Alpine 3.8
22+
run: make test-image IMAGE="php:7.1-fpm-alpine3.8" DOCKERFILE="alpine"
23+
24+
- name: Stretch
25+
run: make test-image IMAGE="php:7.1-fpm-stretch" DOCKERFILE="stretch"

0 commit comments

Comments
 (0)