Skip to content

Commit

Permalink
Release v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevlamynck committed Jun 3, 2024
1 parent b0e6cc1 commit 9a0fed1
Show file tree
Hide file tree
Showing 6 changed files with 1,361 additions and 715 deletions.
1 change: 0 additions & 1 deletion .github/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.7'
services:
application:
user: '1001:116'
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]

jobs:
build-and-test:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
Expand All @@ -12,7 +12,7 @@ jobs:

- name: Start docker 🔧
run: |
docker-compose -f docker-compose.yml -f .github/docker-compose.yml up -d
docker compose -f docker-compose.yml -f .github/docker-compose.yml up -d
- name: Cache multiple paths
uses: actions/cache@v2
Expand All @@ -23,23 +23,23 @@ jobs:

- name: Install the dependencies 🔧
run: |
docker-compose exec -T application composer install --prefer-dist --no-interaction --no-progress
docker compose exec -T application composer install --prefer-dist --no-interaction --no-progress
- name: Execute the tests 🔧
run: |
docker-compose exec -T application php -d extension=pcov.so ./vendor/bin/phpunit --configuration phpunit.xml.dist --colors=never --coverage-text --log-junit reports/junit.xml --coverage-html reports/coverage --coverage-clover build/logs/clover.xml
docker compose exec -T application php -d extension=pcov.so ./vendor/bin/phpunit --configuration phpunit.xml.dist --colors=never --coverage-text --log-junit reports/junit.xml --coverage-html reports/coverage --coverage-clover build/logs/clover.xml
- name: Upload results to Coveralls 🚀
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_SECRET }}
run: |
docker-compose exec -T application composer global require php-coveralls/php-coveralls --prefer-dist --no-interaction --no-progress
docker-compose exec -T -e COVERALLS_REPO_TOKEN="$COVERALLS_REPO_TOKEN" application /home/application/.composer/vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
docker compose exec -T application composer global require php-coveralls/php-coveralls --prefer-dist --no-interaction --no-progress
docker compose exec -T -e COVERALLS_REPO_TOKEN="$COVERALLS_REPO_TOKEN" application /home/application/.composer/vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
- name: PHPInsights 🔧
run: |
docker-compose exec -T application ./vendor/bin/phpinsights
docker compose exec -T application ./vendor/bin/phpinsights
- name: PHPStan 🔧
run: |
docker-compose exec -T application ./vendor/bin/phpstan
docker compose exec -T application ./vendor/bin/phpstan
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ toc::[]

== Installation

This version of the bundle requires Symfony 5.4+ and PHP 8.0+.
This version of the bundle requires Symfony 6.0+ and PHP 8.1+.

[source,bash]
----
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"doctrine/orm": "^2.7 || ^3.0",
"knplabs/knp-gaufrette-bundle": "^0.9.0",
"mikehaertl/php-pdftk": "^0.13.1",
"richcongress/bundle-toolbox": "v2.x-dev",
"symfony/translation": "^5.4 || ^6.0 || ^7.0",
"symfony/twig-bundle": "^5.4 || ^6.0 || ^7.0"
"richcongress/bundle-toolbox": "^2.0",
"symfony/translation": "^6.0 || ^7.0",
"symfony/twig-bundle": "^6.0 || ^7.0"
},
"require-dev": {
"doctrine/doctrine-bundle": "^2.0",
"phpunit/phpunit": "^9.5",
"richcongress/static-analysis": "^0.1",
"richcongress/test-suite": "v0.2.x-dev",
"richcongress/static-analysis": "^0.2",
"richcongress/test-suite": "^0.2",
"roave/security-advisories": "dev-latest"
},
"autoload": {
Expand Down
Loading

0 comments on commit 9a0fed1

Please sign in to comment.