-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added scripts for testing conda installs (all Python versions)
- Loading branch information
Showing
2 changed files
with
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
# Shell script to test installation of all PyImfit conda packages | ||
# (for this architecture) | ||
|
||
# magic command necessary to get conda working within a shell script | ||
source ~/miniconda3/etc/profile.d/conda.sh | ||
|
||
cd $HOME/build/pyimfit/conda | ||
|
||
# Python 3.10 | ||
conda activate py310_test | ||
conda install --yes -c conda-forge perwin::pyimfit | ||
./test_pyimfit_install.py | ||
conda uninstall --yes pyimfit | ||
conda deactivate | ||
|
||
# Python 3.11 | ||
conda activate py311_test | ||
conda install --yes -c conda-forge perwin::pyimfit | ||
./test_pyimfit_install.py | ||
conda uninstall --yes pyimfit | ||
conda deactivate | ||
|
||
# Python 3.12 | ||
conda activate py312_test | ||
conda install --yes -c conda-forge perwin::pyimfit | ||
./test_pyimfit_install.py | ||
conda uninstall --yes pyimfit | ||
conda deactivate |
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,30 @@ | ||
#!/bin/bash | ||
|
||
# Shell script to test installation of all PyImfit conda packages | ||
# (for this architecture) | ||
|
||
# magic command necessary to get conda working within a shell script | ||
source ~/miniconda3/etc/profile.d/conda.sh | ||
|
||
cd $HOME/coding/pyimfit/conda | ||
|
||
# Python 3.10 | ||
conda activate py310_test | ||
conda install --yes -c conda-forge perwin::pyimfit | ||
./test_pyimfit_install.py | ||
conda uninstall --yes pyimfit | ||
conda deactivate | ||
|
||
# Python 3.11 | ||
conda activate py311_test | ||
conda install --yes -c conda-forge perwin::pyimfit | ||
./test_pyimfit_install.py | ||
conda uninstall --yes pyimfit | ||
conda deactivate | ||
|
||
# Python 3.12 | ||
conda activate py312_test | ||
conda install --yes -c conda-forge perwin::pyimfit | ||
./test_pyimfit_install.py | ||
conda uninstall --yes pyimfit | ||
conda deactivate |