Skip to content

Commit

Permalink
C4
Browse files Browse the repository at this point in the history
  • Loading branch information
mag1cp1n authored Oct 16, 2023
1 parent 45c163f commit bcafb96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion continuous_integration/home/coder/.local/bin/conda-utils
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ install_legate_core_with_war() {
# WAR: legate-core depends on a different version of numpy than what is already installed.
# The correct version will be installed when legate-core is installed below.
# See github issue: https://github.com/nv-legate/legate.core/issues/812
#mamba uninstall -y -n "${DEFAULT_CONDA_ENV:-legate}" numpy;
mamba uninstall -y -n "${DEFAULT_CONDA_ENV:-legate}" numpy;

mamba install -y -n "${DEFAULT_CONDA_ENV:-legate}" -c nvidia -c conda-forge -c /tmp/conda-build/legate_core legate-core;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ run_test_or_analysis() {

conda info;

ls -lART /home/coder/.conda/envs/legate/lib


set -xeuo pipefail

case "$1" in
"unit")
echo "Executing unit tests..."
mamba install -y -n "${DEFAULT_CONDA_ENV:-legate}" -c conda-forge pytest pytest-mock ipython jupyter_client
ls -lART /home/coder/.conda/envs/legate/lib
cd ~/legate/tests/unit
pytest
;;
Expand All @@ -30,6 +31,7 @@ run_test_or_analysis() {
# is done on a job which does not checkout the repo (and hence cannot read the
# .pre-commit.yaml).
mamba install -y -n "${DEFAULT_CONDA_ENV:-legate}" mypy=1.5.1
ls -lART /home/coder/.conda/envs/legate/lib
cd ~/legate
mypy legate
;;
Expand Down

0 comments on commit bcafb96

Please sign in to comment.