Skip to content

Commit 0c27e91

Browse files
committed
Build fixes
1 parent f9dca14 commit 0c27e91

3 files changed

Lines changed: 8 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix:
2424
php: [ "8.2", "8.3" ]
2525
symfony: [ "^7.1" ]
26-
sylius: [ "~2.0.0" ]
26+
sylius: [ "~2.0" ]
2727
node: [ "20.x" ]
2828
mysql: ["8.0"]
2929

@@ -113,7 +113,7 @@ jobs:
113113

114114
-
115115
name: Cache Yarn
116-
uses: actions/cache@v2
116+
uses: actions/cache@v4
117117
with:
118118
path: ${{ steps.yarn-cache.outputs.dir }}
119119
key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/package.json **/yarn.lock') }}
@@ -150,17 +150,12 @@ jobs:
150150
run: (cd tests/Application && bin/console doctrine:schema:validate)
151151

152152
-
153-
name: Run ECS
154-
run: vendor/bin/ecs check src
155-
156-
-
157-
name: Run PHPStan
158-
run: vendor/bin/phpstan analyse -c phpstan.neon -l 7 src/
153+
name: Run PHPUnit
154+
run: vendor/bin/unit --colors=always
159155

160156
-
161-
name: Run PHPSpec
162-
run: vendor/bin/phpspec run --ansi -f progress --no-interaction
163-
157+
name: Run Create behat logs directory
158+
run: (mkdir -p etc/build && chmod a+rw etc/build )
164159

165160
-
166161
name: Run Behat
@@ -172,7 +167,7 @@ jobs:
172167

173168
-
174169
name: Upload Behat logs
175-
uses: actions/upload-artifact@v3
170+
uses: actions/upload-artifact@v4
176171
if: failure()
177172
with:
178173
name: Behat logs

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"behat/behat": "^3.14",
2323
"bitbag/coding-standard": "^3.0.0",
2424
"dmore/behat-chrome-extension": "^1.4",
25+
"dmore/chrome-mink-driver": "^2.9"
2526
"friends-of-behat/mink": "^1.11",
2627
"friends-of-behat/mink-browserkit-driver": "^1.6",
2728
"friends-of-behat/mink-debug-extension": "^2.1",
@@ -37,7 +38,6 @@
3738
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
3839
"nelmio/alice": "^3.10",
3940
"nyholm/psr7": "^1.8",
40-
"phpspec/phpspec": "^7.0",
4141
"phpunit/phpunit": "^9.5",
4242
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
4343
"robertfausk/behat-panther-extension": "^1.1",

0 commit comments

Comments
 (0)