Skip to content

Commit e5f2d12

Browse files
authored
Merge pull request #41 from laravel-notification-channels/github-actions
Switched to GitHub Actions workflow
2 parents 3fc1433 + eba393a commit e5f2d12

File tree

2 files changed

+33
-22
lines changed

2 files changed

+33
-22
lines changed

.github/workflows/tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: PHPUnit tests
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
tests:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: true
12+
matrix:
13+
php: [7.2, 7.3, 7.4]
14+
stability: [prefer-lowest, prefer-stable]
15+
16+
name: Tests on PHP ${{ matrix.php }} - ${{ matrix.stability }}
17+
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v2
21+
22+
- name: Setup PHP
23+
uses: shivammathur/setup-php@v2
24+
with:
25+
php-version: ${{ matrix.php }}
26+
tools: composer:v2
27+
coverage: none
28+
29+
- name: Install dependencies
30+
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
31+
32+
- name: Execute tests
33+
run: vendor/bin/phpunit --verbose

.travis.yml

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

0 commit comments

Comments
 (0)