-
-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (31 loc) · 891 Bytes
/
infection.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Infection
on:
pull_request:
push:
branches:
- "master"
workflow_dispatch:
jobs:
Infection:
runs-on: ubuntu-latest
env:
CLICKHOUSE_VERSION: "22.10"
steps:
- uses: actions/checkout@v4
- name: Build the docker-compose stack
run: docker-compose -f tests/docker-compose.yaml up -d
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
coverage: pcov
ini-values: variables_order=EGPCS
extensions: json
- name: Install Dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run Infection
run: |
export $ENV
vendor/bin/roave-infection-static-analysis-plugin --threads=$(nproc)
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}