From 34183f080a20e9133f79e2d87028903457217cd9 Mon Sep 17 00:00:00 2001 From: Jakob Givoni Date: Fri, 27 Oct 2023 10:57:28 +0200 Subject: [PATCH] adding automated testing for php 8.1 --- .github/workflows/ci.yml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2641d5d..7bc15a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: job1: strategy: matrix: - php_version: ["8.2"] + php_version: ["8.1", "8.2"] name: PhpStan static analyzer ${{ matrix.php_version }} runs-on: ubuntu-latest steps: @@ -39,7 +39,7 @@ jobs: job2: strategy: matrix: - php_version: ["8.2"] + php_version: ["8.1", "8.2"] name: PhpUnit unit tests ${{ matrix.php_version }} runs-on: ubuntu-latest steps: diff --git a/Dockerfile b/Dockerfile index 6ddf0a6..e8b6454 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Dockerfile to build image for development and testing -ARG PHP_VERSION=8.2 +ARG PHP_VERSION=8.1 FROM php:${PHP_VERSION}-cli-alpine ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/