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

Tests broken on non main branch #292

Open
andybroomfield opened this issue Oct 2, 2023 · 4 comments
Open

Tests broken on non main branch #292

andybroomfield opened this issue Oct 2, 2023 · 4 comments

Comments

@andybroomfield
Copy link
Contributor

Trying to run actions, even when not on 1.x branch but without changes.

Error: Your requirements could not be resolved to an installable set of packages.

Problem 1
- localgovdrupal/localgov is locked to version 2.x-dev and an update of this package was not requested.
- localgovdrupal/localgov 2.x-dev requires localgovdrupal/localgov_alert_banner ^1.2.0 -> found localgovdrupal/localgov_alert_banner[1.2.0, ..., 1.x-dev] but it conflicts with your root composer.json require (dev-test-action-1 as 1).

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

@andybroomfield
Copy link
Contributor Author

Seems fine when an actual PR though?

@millnut
Copy link
Member

millnut commented Oct 4, 2023

Hi @andybroomfield could be the cache the workflow uses which may have issues as the cache it will keep using if it exists, do you have a link to the workflow where it happens so I can check

@andybroomfield
Copy link
Contributor Author

@millnut It's this workflow.
As mentioned above, seems fine on an actual PR, just breaks if I run it on demand.

@millnut
Copy link
Member

millnut commented Oct 4, 2023

Thanks @andybroomfield on this list https://github.com/localgovdrupal/localgov_alert_banner/actions/workflows/test.yml which is the on-demand one. It could be the on-demand cache causing issues

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

No branches or pull requests

2 participants