Skip to content

UHF-9718: Command to check module versions #49

UHF-9718: Command to check module versions

UHF-9718: Command to check module versions #49

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: CI
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.1', '8.2']
container:
image: ghcr.io/city-of-helsinki/drupal-php-docker:${{ matrix.php-versions }}-alpine
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install required composer dependencies
run: composer install
- name: Run PHPCS
run: vendor/bin/phpcs --ignore=*/vendor/* .
- name: Run phpstan
run: vendor/bin/phpstan analyze -c phpstan.neon .
- name: Run PHPUnit tests
run:
vendor/bin/phpunit -c tests/phpunit.xml tests/
- name: Upload codecov
run: codecov