Skip to content

Commit 98a04e8

Browse files
author
lapaliv
committed
debug
1 parent 74c3ded commit 98a04e8

File tree

2 files changed

+35
-17
lines changed

2 files changed

+35
-17
lines changed

.github/workflows/phpunit.yml

-17
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,3 @@ jobs:
3838
3939
- name: PHPUnit
4040
run: ./vendor/bin/phpunit
41-
42-
psalm:
43-
runs-on: ubuntu-latest
44-
45-
steps:
46-
- uses: actions/checkout@v3
47-
48-
- name: Setup PHP
49-
uses: shivammathur/setup-php@v2
50-
with:
51-
php-version: 8.0
52-
53-
- name: Install dependencies
54-
run: composer install --prefer-dist --no-progress
55-
56-
- name: Psalm
57-
run: ./vendor/bin/psalm --no-progress --no-cache --no-suggestions --report=report.json --memory-limit=2G

.github/workflows/psalm.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: PHPUnit & PHPStan
2+
3+
on: [push]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
psalm:
10+
name: Psalm
11+
runs-on: Ubuntu-20.04
12+
13+
env:
14+
php-version: '8.0'
15+
steps:
16+
- name: Setup PHP
17+
uses: shivammathur/setup-php@v2
18+
with:
19+
php-version: ${{ env.php-version }}
20+
ini-values: "memory_limit=-1"
21+
coverage: none
22+
23+
- name: Checkout target branch
24+
uses: actions/checkout@v4
25+
with:
26+
ref: ${{ github.base_ref }}
27+
28+
- name: Checkout PR
29+
uses: actions/checkout@v4
30+
31+
- name: Install dependencies
32+
run: composer install --prefer-dist --no-progress
33+
34+
- name: Psalm
35+
run: ./vendor/bin/psalm.phar --output-format=github --no-progress

0 commit comments

Comments
 (0)