Skip to content

Commit

Permalink
Use GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wandersonwhcr committed Mar 31, 2021
1 parent 58fe0e8 commit 3ccabce
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test

on:
pull_request:
branches: ["main"]
push:
branches: ["main"]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php_version:
- 7.4
- 8.0
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
uses: php-actions/composer@v5
with:
php_version: ${{ matrix.php_version }}
- name: Test
uses: php-actions/composer@v5
with:
php_version: ${{ matrix.php_version }}
command: test

0 comments on commit 3ccabce

Please sign in to comment.