Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: munishchouhan <[email protected]>
  • Loading branch information
munishchouhan committed Oct 3, 2024
1 parent 5bdead7 commit 3d2fd40
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ From: {{base_image}}
cat environment.lock
echo "<<<<<<< CONDA_LOCK_END"
micromamba clean -a -y

%environment
export PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,10 @@ class DockerHelperTest extends Specification {
%post
micromamba install -y -n base -f /scratch/conda.yml
micromamba install -y -n base foo::bar=1.0
micromamba env export --name base --explicit > environment.lock
echo ">>>>>>> CONDA_LOCK_START"
cat environment.lock
echo "<<<<<<< CONDA_LOCK_END"
micromamba clean -a -y
%environment
export PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
Expand All @@ -857,6 +861,10 @@ class DockerHelperTest extends Specification {
%post
micromamba install -y -n base -f /scratch/conda.yml
micromamba install -y -n base conda-forge::procps-ng
micromamba env export --name base --explicit > environment.lock
echo ">>>>>>> CONDA_LOCK_START"
cat environment.lock
echo "<<<<<<< CONDA_LOCK_END"
micromamba clean -a -y
%environment
export PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
Expand All @@ -875,6 +883,10 @@ class DockerHelperTest extends Specification {
%post
micromamba install -y -n base -c conda-forge -c defaults bwa=0.7.15 salmon=1.1.1
micromamba install -y -n base conda-forge::procps-ng
micromamba env export --name base --explicit > environment.lock
echo ">>>>>>> CONDA_LOCK_START"
cat environment.lock
echo "<<<<<<< CONDA_LOCK_END"
micromamba clean -a -y
%environment
export PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
Expand All @@ -894,6 +906,10 @@ class DockerHelperTest extends Specification {
%post
micromamba install -y -n base -c conda-forge -c defaults bwa=0.7.15 salmon=1.1.1
micromamba install -y -n base foo::one bar::two
micromamba env export --name base --explicit > environment.lock
echo ">>>>>>> CONDA_LOCK_START"
cat environment.lock
echo "<<<<<<< CONDA_LOCK_END"
micromamba clean -a -y
%environment
export PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
Expand All @@ -912,6 +928,10 @@ class DockerHelperTest extends Specification {
%post
micromamba install -y -n base -c foo -c bar bwa=0.7.15 salmon=1.1.1
micromamba install -y -n base conda-forge::procps-ng
micromamba env export --name base --explicit > environment.lock
echo ">>>>>>> CONDA_LOCK_START"
cat environment.lock
echo "<<<<<<< CONDA_LOCK_END"
micromamba clean -a -y
%environment
export PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
Expand All @@ -931,6 +951,10 @@ class DockerHelperTest extends Specification {
%post
micromamba install -y -n base -c conda-forge -c defaults bwa=0.7.15 salmon=1.1.1
micromamba install -y -n base conda-forge::procps-ng
micromamba env export --name base --explicit > environment.lock
echo ">>>>>>> CONDA_LOCK_START"
cat environment.lock
echo "<<<<<<< CONDA_LOCK_END"
micromamba clean -a -y
%environment
export PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
Expand All @@ -954,6 +978,10 @@ class DockerHelperTest extends Specification {
%post
micromamba install -y -n base -c conda-forge -c defaults -f https://foo.com/some/conda-lock.yml
micromamba install -y -n base conda-forge::procps-ng
micromamba env export --name base --explicit > environment.lock
echo ">>>>>>> CONDA_LOCK_START"
cat environment.lock
echo "<<<<<<< CONDA_LOCK_END"
micromamba clean -a -y
%environment
export PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
Expand Down

0 comments on commit 3d2fd40

Please sign in to comment.