Skip to content

Commit

Permalink
Merge pull request #14 from shopware/brain-23/added-turnover-reporting
Browse files Browse the repository at this point in the history
BRAIN-23 - Added turnover reporting
  • Loading branch information
lernhart authored Jan 22, 2024
2 parents 9bbdd0a + e36b5d0 commit 0f46a6e
Show file tree
Hide file tree
Showing 20 changed files with 1,297 additions and 353 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- package.json
- .github/workflows/js.yml
branches:
- main
- trunk

jobs:
eslint:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- composer.json
- .github/workflows/php.yml
branches:
- main
- trunk
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -73,6 +73,6 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run Infection
run: composer infection
run: composer infection -- --min-msi=95
env:
INFECTION_DASHBOARD_API_KEY: ${{ secrets.INFECTION_DASHBOARD_API_KEY }}
8 changes: 8 additions & 0 deletions .platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ variables:
CORS_ALLOW_ORIGIN: '*'
DATABASE_URL: mysql://user:@database.internal:3306/main

crons:
snapshot:
spec: 0 0 * * *
cmd: |
# only run for the production environment, aka trunk
if [ "$PLATFORM_ENVIRONMENT_TYPE" = "production" ]; then
croncape bin/console report:turnover
fi
# The hooks that will be performed when the package is deployed.
hooks:
Expand Down
20 changes: 11 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,23 @@
"doctrine/doctrine-bundle": "^2.10",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.16",
"guzzlehttp/guzzle": "^7.8",
"guzzlehttp/psr7": "^2.6",
"nelmio/cors-bundle": "^2.3",
"shopware/app-bundle": "^2.0",
"symfony/console": "7.0.*",
"symfony/dotenv": "7.0.*",
"symfony/http-foundation": "7.0.*",
"symfony/console": "^7.0",
"symfony/dotenv": "^7.0",
"symfony/http-foundation": "^7.0",
"symfony/flex": "^2",
"symfony/framework-bundle": "7.0.*",
"symfony/framework-bundle": "^7.0",
"symfony/monolog-bundle": "^3.8",
"symfony/property-access": "7.0.*",
"symfony/runtime": "7.0.*",
"symfony/serializer": "7.0.*",
"symfony/uid": "7.0.*",
"symfony/property-access": "^7.0",
"symfony/psr-http-message-bridge": "^7.0",
"symfony/runtime": "^7.0",
"symfony/serializer": "^7.0",
"symfony/uid": "^7.0",
"symfony/webpack-encore-bundle": "^2.0",
"symfony/yaml": "7.0.*"
"symfony/yaml": "^7.0"
},
"config": {
"allow-plugins": {
Expand Down
Loading

0 comments on commit 0f46a6e

Please sign in to comment.