Skip to content

Commit 6b47aae

Browse files
authored
ci: run tests on windows (#4)
* remove editorconfig-checker because it does not work on windows * ci: run tests on windows
1 parent ec564f6 commit 6b47aae

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* text=auto
1+
* text=auto eol=lf
22

33
/cache export-ignore
44
/.editorconfig export-ignore

.github/workflows/checks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ on:
77
- "v[0-9]"
88
jobs:
99
checks:
10-
runs-on: ubuntu-latest
10+
runs-on: ${{ matrix.os }}
1111
strategy:
1212
fail-fast: false
1313
matrix:
14+
os: [ubuntu-latest, windows-latest]
1415
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
1516
steps:
1617
-

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"phpstan/phpstan": "^2.1.8"
1616
},
1717
"require-dev": {
18-
"editorconfig-checker/editorconfig-checker": "^10.6.0",
1918
"ergebnis/composer-normalize": "^2.45.0",
2019
"phpstan/phpstan-deprecation-rules": "^2.0.1",
2120
"phpstan/phpstan-phpunit": "^2.0.4",
@@ -52,7 +51,6 @@
5251
"scripts": {
5352
"check": [
5453
"@check:composer",
55-
"@check:ec",
5654
"@check:cs",
5755
"@check:types",
5856
"@check:dependencies",
@@ -65,7 +63,6 @@
6563
],
6664
"check:cs": "phpcs",
6765
"check:dependencies": "composer-dependency-analyser",
68-
"check:ec": "ec src",
6966
"check:types": "phpstan analyse -vv --ansi",
7067
"fix:cs": "phpcbf"
7168
}

0 commit comments

Comments
 (0)