Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Gouache committed Dec 12, 2024
1 parent dd5371a commit e729ace
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/actions/test-khiops-on-iris/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,14 @@ runs:
echo "KHIOPS_SCRIPT=$KHIOPS_SCRIPT" >> "$GITHUB_ENV"
echo "KHIOPS_CC_SCRIPT=$KHIOPS_CC_SCRIPT" >> "$GITHUB_ENV"
else
# Compute or get the khiops_env directory
if type -P khiops_env &> /dev/null
then
KHIOPS_ENV_DIR=$(dirname $(type -P khiops_env))
elif [[ -n "$CONDA_ENV_BIN_DIR" ]]
then
KHIOPS_ENV_DIR=$CONDA_ENV_BIN_DIR
else
echo "::error::This action expects CONDA_ENV_BIN_DIR to be defined"
false
fi
echo "KHIOPS_SCRIPT=$KHIOPS_ENV_DIR/khiops" >> "$GITHUB_ENV"
echo "KHIOPS_CC_SCRIPT=$KHIOPS_ENV_DIR/khiops_coclustering" >> "$GITHUB_ENV"
echo "KHIOPS_SCRIPT=khiops" >> "$GITHUB_ENV"
echo "KHIOPS_CC_SCRIPT=khiops_coclustering" >> "$GITHUB_ENV"
fi
- name: Run Khiops tests
shell: bash
env:
KHIOPS_PROC_NUMBER: 4
OMPI_MCA_rmaps_base_oversubscribe: true
KHIOPS_API_MODE: true
KHIOPS_MPI_VERBOSE: true
run: |
cd test/LearningTest/TestKhiops/Standard/Iris/
Expand Down

0 comments on commit e729ace

Please sign in to comment.