Cannot run unit tests on github test runner #7953
Replies: 1 comment 1 reply
-
I have traced this to the use of the word
inside This seems to be a problem with headless-gl, and as noted above, this previously worked with headless-gl on Ubuntu 18. But, I also wonder if Looking through the code, it looks like this was actually "fixed" here: Although, we are still on deckgl 8, so I will try to find a way to make this work now that I figured out the problem. I hope this helps anyone else who finds this and is stuck on it. |
Beta Was this translation helpful? Give feedback.
-
I have asked about this before in the nebula issue tracker, but will try again here in case maybe anybody has any insights.
We have some straightforward unit tests of custom layers with
@deck.gl/test-utils
, creating the layer with someprops
and check the state afterwards inonAfterUpdate
. These have been working without issue when run locally with jest using the headless-gl context.We have been running these on the github actions test runner for some time without issue as well, with one caveat: They only worked on Ubuntu 18.
A couple months ago (or so) github has retired their Ubuntu 18 instances and now they are failing with error messages like this:
We are running the unit tests on the runner like this:
as suggested in the
headless-gl
docs.I am wondering if there is some additional option that needs to be passed there to account for whatever changed post-Ubuntu-18.
Has anyone else encountered this? If not, how are you doing unit testing on your custom layers in modern instances?
Beta Was this translation helpful? Give feedback.
All reactions