-
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.03 KB
/
composer.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: Check
on:
#push:
# branches: ['main', '*.*.x']
#pull_request:
# paths:
# - composer.json
pull_request: ~
jobs:
psalm:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2]
dependencies: [lowest, highest]
steps:
- id: coverage
run: |
echo "${{ matrix.php }}";
echo "${{ fromJson('["8.1", "8.2"]')[0] }}";
#- uses: actions/checkout@v4
#- uses: shivammathur/setup-php@v2
# with:
# php-version: ${{ matrix.php }}
# ini-file: development
# tools: composer:v2
# coverage: ${{ steps.coverage.outputs.coverage && 'pcov' || '' }}
#- uses: ramsey/composer-install@v3
# with:
# composer-options: --optimize-autoloader
# dependency-versions: ${{ matrix.dependencies }}
#- run: composer test -- --colors=always --coverage-clover coverage.xml
#- if: ${{ steps.coverage.outputs.coverage }}
# uses: codecov/codecov-action@v4
# env:
# CODECOV_TOKEN: test