Enable PR runner for integration tests - #5874
Conversation
1e3bf1e to
b7e2fa1
Compare
6160044 to
fdb48fd
Compare
…om manual-linux-test-engine currently at 2025.06.05. Skips two failing tests. Removes a test around air-repair-pad self-destruct icon.
…t things green for CICD
fdb48fd to
d3b239d
Compare
…er than devlua and autoheightmap
sprunk
left a comment
There was a problem hiding this comment.
Lua code parts look good, no idea about the github workflow or the policy on skipping tests so somebody else should also take a look at those.
|
I did (just now) run the GitHub action on my own repository: link to action run: https://github.com/NortySpock/Beyond-All-Reason/actions/runs/18767680295/job/53545744940 Image of the summary of the run itself: Image of processing the output of the run into test results:
So the GitHub action side of it does work and produces a test output. |
|
My recommendation on testing policy would be:
(this comment was hand-written by a human, I just wanted to use emoji to drive my point home.) [1] the meat of the tests will likely be in the unit tests, not here in these integration tests. |
|
@Damgam would you be willing to merge this? I've passed a review from a wizard and I've demonstrated the behavior. |
|
I know nothing about GitHub actions etc, but having tests run on the PR level is amazing, please get it in :D |
|
Just a followup here, I do see some of the tests now failing in the master branch. (Yay tests! Boo test failures!) I intend to triage them by Monday at the latest and get a followup PR to try to get the tests to green. Love that we finally have integration tests in CI so that developers can automate some of their testing! |
- rebased PR beyond-all-reason#4140 on master - removed a test for air repair pads - skipped two tests that were failing (hope that's ok so that progress can be made on getting CICD working) - In theory this should run tests in GitHub Actions (we'll see if it still works) - Sets tests to run on the "manual-linux-test-engine" engine from the release config.json - recoil_2025.06.06 - ...which still seems old relative to master... are there newer releases we should be targeting? Or is "manual-linux-test-engine" always going to be the correct one to target?




Work done
Test steps
Test run:
docker compose -f tools/headless_testing/docker-compose.yml upBEFORE:
no tests are run
AFTER:
tests run via GitHub Actions, GitHub Action log output now includes:
That last infolog one seems to be due to the lua code calling deprecated engine features, which is interesting and probably needs to be looked into...I really want to properly address that infolog one, those look like some useful things to catch in the logs and fix, but I don't want "slightly better test coverage" to block "having a CI test runner".
LLM disclosure statement:
I did not use an LLM for any of my contribution to this branch. This branch was rebased from Saurtron's work, who did the heavy-lifting.