Skip to content

Commit

Permalink
Use smartbooster/standard-bundle v1 and release tag v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-ducrot committed Jan 4, 2024
1 parent b2e4cf4 commit fcb24d5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate composer.json
run: composer validate
- name: Composer install
run: composer install
- name: "Install: vendor & clear cache"
run: make install
- name: Run coverage
run: make coverage
- name: Clear cache
run: php bin/console c:c
- name: Run qualimetry
run: make qa
run: make qualimetry
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/symfony.lock
/config/packages/test/dama_doctrine_test_bundle.yaml
/config/packages/test/liip_test_fixtures.yaml
/make/dev.mk
/make/qualimetry.mk
/make/test.mk

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"theofidry/alice-data-fixtures": "^1.5"
},
"require-dev": {
"smartbooster/standard-bundle": "^0.4",
"smartbooster/standard-bundle": "^1.0",
"symfony/flex": "^2",
"symfony/phpunit-bridge": "^5.4|^6.2",
"symfony/runtime": "^5.4|^6.2",
Expand Down Expand Up @@ -52,7 +52,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "0.1.x-dev"
"dev-master": "1.0.x-dev"
},
"symfony": {
"allow-contrib": false,
Expand Down
8 changes: 8 additions & 0 deletions make/install.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
##
## Installation and update
## -------
.PHONY: install
install: ## Install the project
composer install
make cc
echo "Install complete !"
6 changes: 2 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<!-- ###+ symfony/framework-bundle ### -->
<server name="APP_ENV" value="test" force="true" />
<env name="APP_SECRET" value="$ecretf0rt3st"/>
<!-- ###- symfony/framework-bundle ### -->
<server name="SHELL_VERBOSITY" value="-1" />
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<env name="KERNEL_CLASS" value="App\Kernel"/>
<env name="APP_SECRET" value="$ecretf0rt3st"/>
<env name="MAILER_DSN" value="null://null"/>

<!-- ###+ sentry/sentry-symfony ### -->
<env name="SENTRY_DSN" value=""/>
Expand All @@ -39,7 +38,6 @@
<exclude>
<directory>src/DataFixtures</directory>
<file>src/Kernel.php</file>
<directory>./src/SmartCoreBundle.php</directory>
</exclude>
</coverage>

Expand Down

0 comments on commit fcb24d5

Please sign in to comment.