Skip to content

Infrastructure: run Lua tests on macOS#6820

Merged
vadi2 merged 9 commits intodevelopmentfrom
run-lua-tests-macos
Jan 1, 2024
Merged

Infrastructure: run Lua tests on macOS#6820
vadi2 merged 9 commits intodevelopmentfrom
run-lua-tests-macos

Conversation

@vadi2
Copy link
Copy Markdown
Member

@vadi2 vadi2 commented May 7, 2023

Brief overview of PR changes/additions

Run Lua tests on macOS, so we can catch any LuaGlobal loading issues.

Motivation for adding to Mudlet

Close #6687

Other info (issues closed, discussion etc)

@vadi2 vadi2 requested a review from a team May 7, 2023 17:49
@add-deployment-links
Copy link
Copy Markdown

add-deployment-links bot commented May 7, 2023

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

@vadi2 vadi2 marked this pull request as draft May 7, 2023 17:49
@vadi2 vadi2 changed the title Run Lua tests on macOS Infrastructure: run Lua tests on macOS May 7, 2023
@vadi2 vadi2 self-assigned this May 30, 2023
Split the test setup steps for Linux and macOS into separate steps
to handle platform specific differences.

On Linux, copy the built binary to the workspace.

On macOS, copy the .app bundle to Desktop, remove codesigning,
and run tests from the bundled binary.

This allows the workflow to handle test setup properly on each platform.
@vadi2 vadi2 marked this pull request as ready for review December 26, 2023 20:11
@vadi2
Copy link
Copy Markdown
Member Author

vadi2 commented Dec 26, 2023

Got it to work 🥳

image

Copy link
Copy Markdown
Member

@demonnic demonnic left a comment

Choose a reason for hiding this comment

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

lgtm, kind of surprised it takes twice as long, but that could just be the setup time.

@vadi2 vadi2 merged commit aa0ce43 into development Jan 1, 2024
@vadi2 vadi2 deleted the run-lua-tests-macos branch January 1, 2024 17:45
vadi2 added a commit to vadi2/Mudlet that referenced this pull request Jan 5, 2024
<!-- Keep the title short & concise so anyone non-technical can
understand it,
     the title appears in PTB changelogs -->
#### Brief overview of PR changes/additions
Run Lua tests on macOS, so we can catch any LuaGlobal loading issues.
#### Motivation for adding to Mudlet
Close Mudlet#6687
#### Other info (issues closed, discussion etc)
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.

Run Lua tests on macOS

2 participants