Skip to content

Upload compiled file as asset + tests#725

Merged
mblaney merged 6 commits intosimplepie:masterfrom
Art4:single-file-as-artifact
Mar 31, 2022
Merged

Upload compiled file as asset + tests#725
mblaney merged 6 commits intosimplepie:masterfrom
Art4:single-file-as-artifact

Conversation

@Art4
Copy link
Contributor

@Art4 Art4 commented Mar 6, 2022

As I continued to work on #722, I noticed that there are no tests for the output of build/compile.php. So I created a new workflow that runs all tests also with the code in the single file. This way we make sure that the single file always works as well. This is especially important when switching to namespaced classes.

Additionally I had the idea, that we can offer the SimplePie.compiled.php directly as an asset for download at a release. I have created a separate Github workflow for this purpose.

This PR could also potentially fix #544.

@Art4
Copy link
Contributor Author

Art4 commented Mar 7, 2022

I've integrated the tests for the compiled file into the existing ci workflow.

@Art4
Copy link
Contributor Author

Art4 commented Mar 23, 2022

Any thoughts or questions? Is there anything I could improve? I would like to continue working on #722, but would need a decision if this PR is accepted.

@mblaney
Copy link
Member

mblaney commented Mar 31, 2022

looks good @Art4 thanks and sorry it took me a while to get to it

@mblaney mblaney merged commit d27ac93 into simplepie:master Mar 31, 2022
@Art4 Art4 deleted the single-file-as-artifact branch March 31, 2022 14:17
@Art4
Copy link
Contributor Author

Art4 commented Mar 31, 2022

You're welcome. No problem, I'm patient. 😊

@Art4 Art4 mentioned this pull request May 6, 2022
48 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compiled form / build script absent from newer releases

2 participants