[openstreetmap/openstreetmap-website] Add testing on Ubuntu 22.04 (PR #3606)

Andy Allan notifications at github.com
Wed Jul 27 16:15:05 UTC 2022


> The docker run is failing because chromium has in fact been moved to snap only in 22.04 but snaps can't be installed in a docker container so that's that for docker.

For docker, can we just run `bundle exec rails test` i.e. skip the system tests? I'd be happy with that, since running the tests there in CI is more to make sure that the development environment is set up correctly, rather than running all the tests per se.

But in saying that, what's the point in having a development environment where you can't run the system tests? I guess some for some tasks that will be sufficient, but it does rather imply that some developers won't be able to write them or run them. So I guess we need some solution so that devs who want to develop using our docker configuration, can still run all the tests.

> Secondly the forced move to a snap for Firefox means that geckodriver has (currently at least) gone away

Hmm, I wonder if either a) we should wait for geckodriver-and-snap-based solution to appear (although that might still have docker implications) or b) should we switch to using a deb package instead of snap? The linked [askubuntu](https://askubuntu.com/questions/1399383/how-to-install-firefox-as-a-traditional-deb-package-without-snap-in-ubuntu-22) thread highlights the [mozillateam PPA](https://launchpad.net/%7Emozillateam/+archive/ubuntu/ppa) but I don't know what the implications are of doing that. And I guess even then we'll have the problem of most developers (like me) will have a local system on which firefox is installed as a snap.

Oh what a headache!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3606#issuecomment-1196966144
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3606/c1196966144 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220727/f377f4e4/attachment-0001.htm>


More information about the rails-dev mailing list