Skip to content

Commit f7437dd

Browse files
committed
fix: add gh actions
1 parent edc516a commit f7437dd

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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, 8.0]
14+
15+
name: Tests on PHP ${{ matrix.php }} - ${{ matrix.stability }}
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v2
20+
21+
- name: Setup PHP
22+
uses: shivammathur/setup-php@v2
23+
with:
24+
php-version: ${{ matrix.php }}
25+
tools: composer:v2
26+
coverage: none
27+
28+
- name: Install dependencies
29+
run: composer update --prefer-source --no-interaction --no-progress
30+
31+
- name: Execute tests
32+
run: vendor/bin/phpunit --verbose

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ Please see [this repo](https://github.com/laravel-notification-channels/channels
55
[![Latest Version on Packagist](https://img.shields.io/packagist/v/laravel-notification-channels/touch-sms.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/touch-sms)
66
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
77
[![Build Status](https://img.shields.io/travis/laravel-notification-channels/touch-sms/master.svg?style=flat-square)](https://travis-ci.org/laravel-notification-channels/touch-sms)
8-
[![StyleCI](https://styleci.io/repos/:style_ci_id/shield)](https://styleci.io/repos/:style_ci_id)
9-
[![SensioLabsInsight](https://img.shields.io/sensiolabs/i/:sensio_labs_id.svg?style=flat-square)](https://insight.sensiolabs.com/projects/:sensio_labs_id)
10-
[![Quality Score](https://img.shields.io/scrutinizer/g/laravel-notification-channels/touch-sms.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/touch-sms)
11-
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/touch-sms/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/touch-sms/?branch=master)
8+
[![StyleCI](https://styleci.io/repos/339892204/shield)](https://styleci.io/repos/339892204)
129
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/touch-sms.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/touch-sms)
1310

1411
📲 TouchSMS Notifications Channel for Laravel

0 commit comments

Comments
 (0)