mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2026-11-13 08:37:15 +00:00
Tests / integration (8.2, alpine) (push) Canceled after 0s
Tests / integration (8.2, debian) (push) Canceled after 0s
Tests / integration (8.3, alpine) (push) Canceled after 0s
Tests / integration (8.3, debian) (push) Canceled after 0s
Tests / integration (8.4, alpine) (push) Canceled after 0s
Tests / integration (8.4, debian) (push) Canceled after 0s
Tests / integration (8.5, alpine) (push) Canceled after 0s
Tests / integration (8.5, debian) (push) Canceled after 0s
PHP 8.1 is end-of-life. Drop it from the default build and test matrices. 8.1 and 8.1-alpine are still built, multi-arch, by the manual legacy job (workflow_dispatch with legacy=true)
32 lines
892 B
YAML
32 lines
892 B
YAML
name: Tests
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
integration:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
php: ["8.2", "8.3", "8.4", "8.5"]
|
|
variant: ["debian", "alpine"]
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v4
|
|
- name: Build Docker image
|
|
uses: docker/build-push-action@v7
|
|
with:
|
|
context: .
|
|
file: ${{ matrix.variant == 'alpine' && './src/docker/Dockerfile.alpine' || './src/docker/Dockerfile' }}
|
|
load: true
|
|
build-args: |
|
|
phpVersion=${{ matrix.php }}
|
|
tags: laravel-php-fpm:test
|
|
cache-from: type=gha,scope=${{ matrix.php }}-${{ matrix.variant }}
|
|
- name: Run integration tests
|
|
env:
|
|
IMAGE: laravel-php-fpm:test
|
|
run: ./tests/integration.sh
|