From 48c3c511d6641584fba70f2754784b6950fb75e9 Mon Sep 17 00:00:00 2001 From: Tobias Schoknecht Date: Fri, 12 Apr 2024 21:34:41 +0200 Subject: [PATCH] Add php version test matrix --- .github/workflows/ci.yaml | 8 ++++++++ .gitignore | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b3a3a3a..76e2b28 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,8 +6,16 @@ jobs: unit-tests: runs-on: ubuntu-latest + strategy: + matrix: + php-version: [8.2, 8.3] + steps: - uses: actions/checkout@v3 + - name: Set up PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} - name: Validate composer.json and composer.lock run: composer validate diff --git a/.gitignore b/.gitignore index f014d92..a8e833c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .DS_Store -/vendor/ \ No newline at end of file +/vendor/ +.phpunit.cache +.phpunit.result.cache