Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 1 addition & 38 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,41 +24,4 @@ concurrency:

jobs:
tests:
name: PHP 8.5
runs-on: ubuntu-latest

services:
postgres:
image: postgres:18@sha256:5a5a84b19854a9ffaa54082c166ff4ec27473a361e496e5ea167f298f2da9722
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: yiitest
ports:
- 5432:5432
options: --health-cmd="pg_isready" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
- name: Checkout.
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Install PHP with extensions.
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
with:
php-version: '8.5'
extensions: pdo_pgsql, pdo_sqlite
ini-values: date.timezone='UTC'
tools: infection
coverage: pcov

- name: Install Composer dependencies and database packages.
uses: yiisoft/actions/install-packages@master
with:
packages: >-
['db', 'db-pgsql', 'db-sqlite']

- name: Run infection.
# Command tests share generated migration files and database tables.
run: infection --threads=1 --ignore-msi-with-no-mutations --test-framework-options="--testsuite=Migration,Sqlite,Pgsql"
uses: yiisoft/actions/.github/workflows/db-mutation.yml@master
Loading
Loading