summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-10-06 09:01:57 +0100
committerGreg Roach <greg@subaqua.co.uk>2021-10-06 09:01:57 +0100
commitd80c4b28d3dd97de13a4ad436b779827c4469651 (patch)
treeab225316e493928bfbe894541c03522d69a91655 /.github
parent3c88589ee901a73765f394a34e5425690a7ba3c4 (diff)
downloadwebtrees-d80c4b28d3dd97de13a4ad436b779827c4469651.tar.gz
webtrees-d80c4b28d3dd97de13a4ad436b779827c4469651.tar.bz2
webtrees-d80c4b28d3dd97de13a4ad436b779827c4469651.zip
Github workflows
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/phpstan.yaml9
-rw-r--r--.github/workflows/phpunit.yaml4
2 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/phpstan.yaml b/.github/workflows/phpstan.yaml
index b327ceeccd..5342a38262 100644
--- a/.github/workflows/phpstan.yaml
+++ b/.github/workflows/phpstan.yaml
@@ -5,7 +5,14 @@ on: [push, pull_request]
jobs:
run:
if: ${{ !startsWith(github.event.head_commit.message, 'Translation:') }}
- runs-on: ubuntu-latest
+
+ runs-on: ${{ matrix.operating-system }}
+
+ strategy:
+ matrix:
+ operating-system: [ubuntu-latest]
+ php-version: ['7.4', '8.0', '8.1']
+
name: phpstan
steps:
diff --git a/.github/workflows/phpunit.yaml b/.github/workflows/phpunit.yaml
index 1019f8f6a2..e50990267c 100644
--- a/.github/workflows/phpunit.yaml
+++ b/.github/workflows/phpunit.yaml
@@ -9,8 +9,8 @@ jobs:
strategy:
matrix:
- operating-system: [ubuntu-20.04]
- php-version: ['7.4', '8.0']
+ operating-system: [ubuntu-latest]
+ php-version: ['7.4', '8.0', '8.1']
name: Testing PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }}