Skip to content

Commit b0730db

Browse files
committed
Add test workflow
1 parent 39bf25e commit b0730db

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/tests.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Setup PHP
11+
uses: shivammathur/setup-php@v2
12+
with:
13+
php-version: '8.0'
14+
- name: Install dependencies
15+
run: composer install
16+
- name: Run tests
17+
run: vendor/bin/pest

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ A lightweight, extendable Laravel package for monitoring the health of internal
33

44
Built for developers who care about observability and application resilience.
55

6+
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
7+
[![Tests](https://github.com/mrtolouei/laravel-health-monitor/actions/workflows/tests.yml/badge.svg)](https://github.com/mrtolouei/laravel-health-monitor/actions/workflows/tests.yml)
8+
[![Latest Stable Version](https://poser.pugx.org/mrtolouei/laravel-health-monitor/v/stable)](https://packagist.org/packages/mrtolouei/laravel-health-monitor)
9+
610
## Installation
711
Install the package via Composer:
812
```

0 commit comments

Comments
 (0)