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 14594c6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,24 @@ jobs:
- name: "Run composer audit"
run: "composer audit --no-dev --locked"

- 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"
- name: "Run unit tests"
run: "git tag && composer phpunit:unit"

- name: "Run integration tests"
run: "composer phpunit:integration"

- name: "Run functional tests"
run: "composer phpunit:functional"

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

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

Expand All @@ -92,21 +110,3 @@ jobs:

- 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"
- name: "Run unit tests"
run: "composer phpunit:unit"

- name: "Run integration tests"
run: "composer phpunit:integration"

- name: "Run functional tests"
run: "composer phpunit:functional"

- name: "Warmup prod cache"
run: "bin/console cache:warmup --env=prod"
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 14594c6

Please sign in to comment.