Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit 2df743b

Browse files
Create test.yml
1 parent 2cdbd27 commit 2df743b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build & Test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
php: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- name: Install dependencies
21+
run: |
22+
composer --no-plugins --no-scripts install
23+
composer --no-plugins --no-scripts dump-autoload -o
24+
vendor/bin/phpunit --configuration ./phpunit.xml --teamcity

0 commit comments

Comments
 (0)