forked from sosy-lab/benchexec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests on Python 3.12 as well in CI
- Loading branch information
1 parent
aa9a0d3
commit e1b6c7f
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This file is part of BenchExec, a framework for reliable benchmarking: | ||
# https://github.com/sosy-lab/benchexec | ||
# | ||
# SPDX-FileCopyrightText: 2007-2024 Dirk Beyer <https://www.sosy-lab.org> | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This is a Docker image for running the tests. | ||
# It should be pushed to registry.gitlab.com/sosy-lab/software/benchexec/test | ||
# and will be used by CI as declared in .gitlab-ci.yml. | ||
# | ||
# Commands for updating the image: | ||
# docker build --pull -t registry.gitlab.com/sosy-lab/software/benchexec/test:python-3.12 - < test/Dockerfile.python-3.12 | ||
# docker push registry.gitlab.com/sosy-lab/software/benchexec/test | ||
|
||
FROM python:3.12 | ||
|
||
# Cannot use apt package python3-pystemd here | ||
# because these images do not use the Python installed via apt. | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
libsystemd-dev \ | ||
lxcfs \ | ||
sudo \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN pip install \ | ||
coloredlogs \ | ||
"coverage[toml] >= 5.0" \ | ||
lxml \ | ||
pystemd \ | ||
pytest \ | ||
pyyaml |