Skip to content

Commit a1538f5

Browse files
committed
Add Github build workflow
1 parent 0c4dd4f commit a1538f5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: [ubuntu-latest]
11+
steps:
12+
- uses: actions/checkout@v1
13+
14+
- name: Cache PHP dependencies
15+
uses: actions/cache@v1
16+
with:
17+
path: vendor
18+
key: ${{ runner.OS }}-build-${{ hashFiles('**/composer.lock') }}
19+
20+
- uses: php-actions/composer@master
21+
22+
run: |
23+
cp .env.example .env
24+
25+
- name: Run Tests
26+
run: composer tests-exclude-notification

0 commit comments

Comments
 (0)