ci: add mailhog service for tests

This commit is contained in:
idevakk
2026-03-03 02:15:47 +05:30
parent 6e59c1f922
commit 524575f790

View File

@@ -15,6 +15,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: Testing environment: Testing
services:
mailhog:
image: mailhog/mailhog
ports:
- 2525:1025
- 8025:8025
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -50,5 +57,8 @@ jobs:
- name: Build Assets - name: Build Assets
run: npm run build run: npm run build
- name: Wait for Mailhog
run: sleep 5
- name: Run Tests - name: Run Tests
run: ./vendor/bin/pest run: ./vendor/bin/pest