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

FIX Remove duplicate jobs #111

Merged

Conversation

emteknetnz
Copy link
Member

Issue silverstripe/.github#323

Artifacts were unable to be created because on some builds we're creating 2 duplicates builds, usually due to one of them being defined in yml in extra_jobs and the other one just one just being automatically created in the generated matrix.

Rather than find all the duplicate jobs, it's easier to just remove them from the matrix in a central place

Comment on lines +1955 to +1957
if (!function_exists('yaml_parse')) {
$this->markTestSkipped('yaml extension is not installed');
}
Copy link
Member

@GuySartorelli GuySartorelli Oct 15, 2024

Choose a reason for hiding this comment

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

We really shouldn't skip these - it should just be a requirement that php yaml is installed if you wanna run tests. OTherwise it looks like everything's fine when stuff is just being skipped but might be broken.

There's more than just this one test doing it though so that's a discussion to be held outside this PR.

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

LGTM

@GuySartorelli GuySartorelli merged commit 931a8cd into silverstripe:1.16 Oct 15, 2024
2 checks passed
@GuySartorelli GuySartorelli deleted the pulls/1.16/unique-jobs branch October 15, 2024 20:05
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.

2 participants