Skip to content

Commit

Permalink
Add debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
xvilo committed Dec 18, 2023
1 parent c5c3269 commit 2872a1a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,29 +75,12 @@ jobs:
- name: "Run composer audit"
run: "composer audit --no-dev --locked"

- name: "Check code style"
run: "composer check-cs"

- name: "Run PHPStan"
run: "composer phpstan"

- name: "Lint twig"
run: "bin/console lint:twig templates --show-deprecations"

- name: "Run migrations"
run: "bin/console doctrine:migrations:migrate --no-interaction"

- name: "Setup messenger transports"
run: "bin/console messenger:setup-transports"

- name: "Validate database schema"
run: "bin/console doctrine:schema:validate"

- name: "Set git committer info"
shell: bash
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
git config --global --add safe.directory '*'
- name: "Run unit tests"
run: "composer phpunit:unit"
Expand All @@ -110,3 +93,21 @@ jobs:

- name: "Warmup prod cache"
run: "bin/console cache:warmup --env=prod"

- name: "Check code style"
run: "composer check-cs"

- name: "Run PHPStan"
run: "composer phpstan"

- name: "Lint twig"
run: "bin/console lint:twig templates --show-deprecations"

- name: "Run migrations"
run: "bin/console doctrine:migrations:migrate --no-interaction"

- name: "Setup messenger transports"
run: "bin/console messenger:setup-transports"

- name: "Validate database schema"
run: "bin/console doctrine:schema:validate"
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ public function synchronize(Package $package): void

$this->packageManager->saveProvider($json, $package->organizationAlias(), $name);
} catch (\Throwable $exception) {
throw $exception;
$package->syncFailure(sprintf('Error: %s%s',
$exception->getMessage(),
isset($io) && strlen($io->getOutput()) > 1 ? "\nLogs:\n".$io->getOutput() : ''
Expand Down

0 comments on commit 2872a1a

Please sign in to comment.