Skip to content

Change packages' CI setup to use Docker images #2262

Open
@fingolfin

Description

(This is a continuation of PR #1732, or actually it's exactly what I wanted in that PR, but which I did not communicate well enough.)

Right now, most packages here on GitHub perform their tests by first compiling a version of GAP (typically from the master branch). That then often means that the tests for 3 minutes compile GAP and essential packages; and then the actual package tests run for 20 seconds or so. That's unsatisfying. It also feels bad to put such a burden on Travis.

To improved this, I'd like to try to use the docker images from

for this instead; they are on DockerHub at

The idea now is to change 1-2 packages which us the "standard" Travis setup we made recently, to use Docker instead of compiling GAP. Ideally they should run against both master and stable versions of GAP. Once that works, and if it actually turns out to result in a performance gain, we can then proceed to toll this out to other packages.

Note: If packages start to want to support HPC-GAP and/or 32bit supporting we should consider also providing those via Docker. In order to avoid an explosion of configurations, we could perhaps use the out-of-tree build support to have a single Docker image for master have all four variation in one docker image. Not sure if that makes sense, though, I have not look at all how our Docker images are produced.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

kind: enhancementLabel for issues suggesting enhancements; and for pull requests implementing enhancementstopic: ciAnything related to GitHub Actions, Codecov, AppVeyor, Coveralls, Travis, ...topic: packagesissues or PRs related to package handling, or specific to a package (for packages w/o issue tracker)topic: testsissues or PRs related to tests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions