Skip to content

Commit

Permalink
Run phpstan checks, try improve CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Nov 3, 2023
1 parent 5e6b08f commit 352926f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
include:
- {php-version: "7.4"}
- {php-version: "7.4", "8.1", "8.2", "8.3-rc"}
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
Expand Down Expand Up @@ -58,6 +58,8 @@ jobs:
matrix:
include:
- {glpi-version: "10.0", php-version: "7.4", db-image: "mysql:8.0"}
- {glpi-version: "10.0", php-version: "8.2", db-image: "mysql:8.0"}
- {glpi-version: "main", php-version: "8.2", db-image: "mysql:8.0"}
services:
app:
image: "ghcr.io/glpi-project/githubactions-php:${{ matrix.php-version }}"
Expand Down Expand Up @@ -95,3 +97,5 @@ jobs:
docker exec ${{ job.services.app.id }} bin/console glpi:database:install --ansi --no-interaction --db-name=glpi --db-host=db --db-user=root --strict-configuration
docker exec ${{ job.services.app.id }} bin/console glpi:plugin:install --ansi --no-interaction --username=glpi oauthimap
docker exec ${{ job.services.app.id }} bin/console glpi:plugin:activate --ansi --no-interaction oauthimap
- name: PHPStan checks
run: docker exec cd glpi/plugins/fields && php vendor/bin/phpstan analyze --ansi --memory-limit=1G --no-interaction --no-progress

0 comments on commit 352926f

Please sign in to comment.