Skip to content

Commit 773ab92

Browse files
committed
Configures CI and updates RMG installation.
Adds debugging for CI workflow and configures environment variables to automatically confirm conda installations. Updates the RMG installation script to use strict channel priority. This ensures more consistent and reproducible environments, which is especially important for CI and user installations.
1 parent 38762b1 commit 773ab92

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
cache-environment: true
4141
cache-downloads: true
4242
generate-run-shell: true
43+
log-level: debug
4344

4445
- name: Install conda in micromamba base
4546
shell: micromamba-shell {0}
@@ -91,6 +92,9 @@ jobs:
9192
- name: Install all extras - CI
9293
shell: micromamba-shell {0}
9394
working-directory: ARC
95+
env:
96+
MAMBA_ALWAYS_YES: "true"
97+
CONDA_ALWAYS_YES: "true"
9498
run: make install-ci
9599

96100
- name: Set TS-GCN and AutoTST in PYTHONPATH

devtools/install_rmg.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ fi
104104

105105
if $COMMAND_PKG env list | awk '{print $1}' | grep -qx "$ENV_NAME"; then
106106
echo ">>> Updating existing environment: $ENV_NAME"
107-
$COMMAND_PKG env update -n "$ENV_NAME" -f environment.yml --prune
107+
$COMMAND_PKG env update -n "$ENV_NAME" -f environment.yml --prune --strict-channel-priority
108108
else
109109
echo ">>> Creating new environment: $ENV_NAME"
110-
$COMMAND_PKG env create -n "$ENV_NAME" -f environment.yml -y
110+
$COMMAND_PKG env create -n "$ENV_NAME" -f environment.yml -y --strict-channel-priority
111111
fi
112112

113113
###############################################################################

0 commit comments

Comments
 (0)