Skip to content

Fix CI #875

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

Closed
wants to merge 1 commit into from
Closed

Fix CI #875

wants to merge 1 commit into from

Conversation

paladox
Copy link
Contributor

@paladox paladox commented Dec 17, 2024

Since [0] It runs composer test and composer phpunit meaning right now it is running phpunit twice.

We stop running phpunit under "test" as it is called afterwards.

Also use the anonymous git clone url and not the ssh one for the submodule.

[0] gesinn-it-pub/docker-compose-ci@08783a0

Fixes #872

Since [0] It runs composer test and composer phpunit meaning
right now it is running phpunit twice.

We cleanup composer a bit.

Also use the anonymous git clone url and not the ssh one for the
submodule.

[0] gesinn-it-pub/docker-compose-ci@08783a0
@@ -83,8 +83,7 @@
},
"scripts":{
"test": [
"@analyze",
"@phpunit"
Copy link
Member

Choose a reason for hiding this comment

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

This also changes the behavior for people that run composer test locally. I suspect the issue you are fixing comes from the GH Actions config

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup. Unless gesinn-it-pub/docker-compose-ci@08783a0 gets reverted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The readme specifies > This extension provides unit and integration tests and is usually run by a continues integration platform but can also be executed locally using the shortcut command composer phpunit from the extension base directory.

Anyways. This unblocks the CI, so either this should be merged or gesinn-it-pub/docker-compose-ci@08783a0 reverted.

Copy link
Member

Choose a reason for hiding this comment

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

I think we should revert gesinn-it-pub/docker-compose-ci@08783a0

Copy link
Member

Choose a reason for hiding this comment

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

This is mainly because many other extensions are using docker-compose-ci. Forcing them to change their compose setup is not ideal.

@paladox paladox closed this Dec 18, 2024
@paladox paladox deleted the fix-ci branch December 18, 2024 10:10
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.

Ensure, tests and CI are running with current SMW dev-master
3 participants