Skip to content

Rework CI #146

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

Merged
merged 4 commits into from
Feb 9, 2022
Merged

Rework CI #146

merged 4 commits into from
Feb 9, 2022

Conversation

simPod
Copy link
Contributor

@simPod simPod commented Dec 26, 2021

  • Use ramsey/composer-install action

  • Drop testing on multiple OSes as it's not relevant

  • Move timezone setting to bootstrap file

  • Run standalone PHPStan and Code Style checks

  • Bump justinrainbow/json-schema to v5.2 as it supports PHP 8.0

  • Conflict with symfony/yaml 3.4.0 - 3.4.4 || 4.0.0 - 4.4.17 || 5.0.0 - 5.1.9 || 5.2.0 in order to prevent installing broken versions (especially this issue [Yaml] Regression 4.4.17 error loading YAML files with strings that have trailing whitespace symfony/symfony#39521)

  • Run speccy through yarn

  • I'don't know windows and not sure how to force it to understand composer require symfony/yaml:"^5"

image

@simPod simPod force-pushed the fix-test branch 2 times, most recently from d2ca412 to c8c713c Compare December 26, 2021 09:59
@simPod simPod changed the title Use dynamic symfony/yaml version on windows Rework CI Dec 26, 2021
@simPod simPod force-pushed the fix-test branch 27 times, most recently from 69587ab to 2d5095a Compare December 26, 2021 13:20
@simPod
Copy link
Contributor Author

simPod commented Dec 26, 2021

@cebe I've been tweaking this for a while but now it works. CI is green. (with #145)

image

- Use ramsey/composer-install action
- Drop testing on multiple OSes as it's not relevant
- Move timezone setting to bootstrap file
- Run standalone PHPStan and Code Style checks
- Bump justinrainbow/json-schema to v5.2 as it supports PHP 8.0
- Conflict with symfony/yaml `3.4.0 - 3.4.4 || 4.0.0 - 4.4.17 || 5.0.0 - 5.1.9 || 5.2.0` in order to prevent installing broken versions (especially this issue symfony/symfony#39521)
@cebe
Copy link
Owner

cebe commented Jan 3, 2022

Thanks for your work on this one, I have one thing to discuss:

Drop testing on multiple OSes as it's not relevant

Multiple OS as relevant to make sure loading of external files from references works. There were some bugs about this on windows systems. That said, I'd like to keep testing on windows and mac, at least a combination of latest php and dependencies to make sure it works on these systems.

@cebe cebe added this to the 1.6.0 milestone Jan 3, 2022
@simPod simPod force-pushed the fix-test branch 2 times, most recently from fb9199e to 9050b93 Compare January 3, 2022 17:10
@simPod
Copy link
Contributor Author

simPod commented Jan 3, 2022

@cebe we're running macos and windows now. Would it suffice like this?

@simPod simPod force-pushed the fix-test branch 8 times, most recently from 6f23a0d to f23a106 Compare January 3, 2022 17:46
@simPod
Copy link
Contributor Author

simPod commented Jan 3, 2022

@cebe cebe merged commit 66f9d71 into cebe:master Feb 9, 2022
@cebe
Copy link
Owner

cebe commented Feb 9, 2022

Thank you!

@simPod simPod deleted the fix-test branch February 9, 2022 08:47
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