-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Add py312 tests and bump default test version
- Loading branch information
1 parent
16335b3
commit 55894bb
Showing
4 changed files
with
79 additions
and
24 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,27 @@ | ||
# This dockerfile is written automatically and should not be modified by hand. | ||
|
||
FROM containers.ligo.org/docker/base:conda | ||
LABEL name="bilby CI testing" \ | ||
maintainer="Gregory Ashton <[email protected]>, Colm Talbot <[email protected]>" | ||
|
||
COPY env-template.yml env.yml | ||
RUN echo " - python=3.12" >> env.yml | ||
ENV conda_env python312 | ||
|
||
RUN mamba env create -f env.yml -n ${conda_env} | ||
RUN echo "source activate ${conda_env}" > ~/.bashrc | ||
ENV PATH /opt/conda/envs/${conda_env}/bin:$PATH | ||
RUN /bin/bash -c "source activate ${conda_env}" | ||
RUN mamba info | ||
RUN python --version | ||
|
||
# Add the ROQ data to the image | ||
RUN mkdir roq_basis \ | ||
&& cd roq_basis \ | ||
&& wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/B_linear.npy \ | ||
&& wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/B_quadratic.npy \ | ||
&& wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/fnodes_linear.npy \ | ||
&& wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/fnodes_quadratic.npy \ | ||
&& wget https://git.ligo.org/lscsoft/ROQ_data/raw/master/IMRPhenomPv2/4s/params.dat \ | ||
&& wget https://git.ligo.org/soichiro.morisaki/roq_basis/raw/main/IMRPhenomD/16s_nospins/basis_addcal.hdf5 \ | ||
&& wget https://git.ligo.org/soichiro.morisaki/roq_basis/raw/main/IMRPhenomD/16s_nospins/basis_multiband_addcal.hdf5 |
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