Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
container:
image: fsiopenpl/docker-php-apache:alpine-${{ matrix.php-version }}
env:
COMPOSER_FLAGS: ${{ matrix.php-version == '7.4' && ' --prefer-lowest' || '' }}
COMPOSER_FLAGS: ${{ matrix.php-version == '7.4' && ' --prefer-lowest --prefer-stable' || '' }}
options: '--network-alias test-container'
services:
firefox:
Expand All @@ -33,13 +33,16 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v1
- run: composer config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
- name: Install symfony/clock
run: composer require --dev symfony/clock
if: ${{ matrix.php-version != '7.4' && matrix.php-version != '8.0' }}
- name: Validate composer config
run: composer validate
- name: Install dependencies
run: composer update ${COMPOSER_FLAGS}
run: |
composer config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
composer update ${COMPOSER_FLAGS}
- name: Install assets
run: features/fixtures/project/bin/console assets:install features/fixtures/project/web --relative --symlink
- name: Code quality
Expand Down
20 changes: 17 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,28 @@
"email": "piotr.szymaszek@fsi.pl"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/chives/translatable"
},
{
"type": "vcs",
"url": "https://github.com/chives/files"
},
{
"type": "vcs",
"url": "https://github.com/chives/resource-repository-bundle"
}
],
"require": {
"php": "^7.4|^8.0",
"beberlei/assert": "^3.3",
"doctrine/doctrine-bundle": "^2.10",
"doctrine/persistence": "^2.0|^3.0|^4.0",
"doctrine/orm": "^2.8|^3.0",
"fsi/data": "^1.0.2",
"fsi/translatable": "^1.0.2",
"fsi/translatable": "^1.0.2@dev",
"knplabs/knp-menu": "^3.3",
"knplabs/knp-menu-bundle": "^3.2",
"psr/event-dispatcher": "^1.0",
Expand Down Expand Up @@ -57,8 +71,8 @@
"friends-of-behat/mink-extension": "^2.6",
"friends-of-behat/page-object-extension": "^0.3.2",
"friends-of-behat/symfony-extension": "^2.3",
"fsi/files": "^2.0.4|^3.0",
"fsi/resource-repository-bundle": "^3.0.3|^4.0",
"fsi/files": "^2.0.4|^3.0@dev",
"fsi/resource-repository-bundle": "^3.0.3|^4.0@dev",
"gedmo/doctrine-extensions": "^3.13",
"mockery/mockery": "^1.6",
"nyholm/psr7": "^1.8",
Expand Down