Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revive CI #15

Merged
merged 6 commits into from
Sep 5, 2024
Merged

Revive CI #15

merged 6 commits into from
Sep 5, 2024

Conversation

jakubtobiasz
Copy link
Member

closes #11

@jakubtobiasz jakubtobiasz force-pushed the 11-revive-ci branch 10 times, most recently from aced534 to 0c6fcd9 Compare September 5, 2024 11:03
Comment on lines +61 to +63
- name: Check dependencies
continue-on-error: true
run: vendor/bin/composer-dependency-analyser
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've already spent too much time on figuring out why the configuration wasn't working, so I'm skipping it for now. In general, as we install all deps we're getting false-positives. We need to extract it to a separate job, download only non-dev deps, and then run it.

Comment on lines +12 to +13
->ignoreErrorsOnPackage('sylius/sylius', [ErrorType::DEV_DEPENDENCY_IN_PROD])
->ignoreErrorsOnPackage('sylius/core-bundle', [ErrorType::UNUSED_DEPENDENCY])
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the same reason as mentioned in ci.yaml; it should be removed once fixed there;

@@ -5,8 +5,7 @@
"license": "MIT",
"autoload": {
"psr-4": {
"CommerceWeavers\\SyliusTpayPlugin\\": "src/",
"Tests\\CommerceWeavers\\SyliusTpayPlugin\\Behat\\": "tests/Behat"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was unused


final class CommerceWeaversSyliusTpayPlugin extends AbstractBundle
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wasn't present in Symfony 5.4 :<

@jakubtobiasz jakubtobiasz merged commit 8eba93d into CommerceWeavers:main Sep 5, 2024
4 checks passed
@jakubtobiasz jakubtobiasz deleted the 11-revive-ci branch September 5, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revive CI
1 participant