Skip to content

Commit

Permalink
Merge pull request #204 from cyclus/noble-numbat
Browse files Browse the repository at this point in the history
  • Loading branch information
gonuke authored Oct 21, 2024
2 parents e3e2081 + 929641b commit 0a66166
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
ubuntu_versions : [
20.04,
22.04,
24.04,
]
pkg_mgr : [
apt,
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Since last release

**Added:**

* Added Ubuntu 24.04 to CI workflows (#204)

**Changed:**

* Rely on `python3` in environment instead of `python` (#196)
Expand Down
11 changes: 9 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@ ARG pkg_mgr=apt
ARG ubuntu_version=22.04
ARG cycamore_tag=latest

FROM ghcr.io/cyclus/cycamore_${ubuntu_version}_${pkg_mgr}/cycamore:${cycamore_tag} AS cymetric
FROM ghcr.io/cyclus/cycamore_${ubuntu_version}_${pkg_mgr}/cycamore:${cycamore_tag} AS cycamore-base

FROM cycamore-base AS apt-deps
RUN apt install -y python3-matplotlib

FROM cycamore-base AS conda-deps
RUN mamba install -y matplotlib

FROM ${pkg_mgr}-deps AS cymetric
COPY . /cymetric
WORKDIR /cymetric
RUN python3 -m pip install --target $(python3 -m site --user-site) .
RUN python3 -m pip install --target $(python3 -m site --user-site) --no-deps .

FROM cymetric AS cymetric-pytest
RUN cd tests && python3 -m pytest

0 comments on commit 0a66166

Please sign in to comment.