Skip to content

Merge pull request #52 from rpkamp/mailhog-client-2.0 #90

Merge pull request #52 from rpkamp/mailhog-client-2.0

Merge pull request #52 from rpkamp/mailhog-client-2.0 #90

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
jobs:
tests:
services:
mailhog:
image: mailhog/mailhog:v1.0.0
env:
MH_SMTP_BIND_ADDR: 0.0.0.0:3025
MH_API_BIND_ADDR: 0.0.0.0:10025
MH_UI_BIND_ADDR: 0.0.0.0:10025
ports:
- 3025:3025
- 10025:10025
runs-on: ubuntu-latest
name: Test
strategy:
fail-fast: false
matrix:
php: ["8.0", "8.1", "8.2", "8.3"]
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
- name: Install dependencies
run: composer update
- name: Run tests
run: make test