44 DEFAULT_SAMPLES_VERSION : 10.2.0
55 # Note: The default Khiops version must never be an alpha release as they are
66 # ephemeral. To test alpha versions run the workflow manually.
7- DEFAULT_KHIOPS_CORE_VERSION : 10.2.2
7+ DEFAULT_KHIOPS_CORE_VERSION : 10.2.3
88on :
99 workflow_dispatch :
1010 inputs :
1111 khiops-core-version :
12- default : 10.2.2
12+ default : 10.2.3
1313 description : khiops-core version for testing
1414 khiops-samples-version :
1515 default : 10.2.0
@@ -39,19 +39,18 @@ jobs:
3939 # Checkout the full repository to have the tags so versioneer works properly
4040 # See issue https://github.com/actions/checkout/issues/701
4141 fetch-depth : 0
42- - name : Install Miniconda
42+ - name : Install Miniforge
4343 uses : conda-incubator/setup-miniconda@v3
4444 with :
45- miniconda -version : latest
45+ miniforge -version : latest
4646 python-version : ' 3.12'
4747 - name : Install Dependency Requirements for Building Conda Packages
4848 run : conda install -y conda-build
4949 - name : Build the Conda Package
5050 # Note: The "khiops-dev" conda channel is needed to retrieve the "khiops-core" package.
5151 # The "test" part of the conda recipe needs this package.
5252 run : |
53- conda build --channel conda-forge --channel khiops-dev \
54- --output-folder ./khiops-conda ./packaging/conda
53+ conda build --channel khiops-dev --output-folder ./khiops-conda ./packaging/conda
5554 - name : Upload Conda Package Artifact
5655 uses : actions/upload-artifact@v4
5756 with :
@@ -78,10 +77,10 @@ jobs:
7877 runs-on : ${{ matrix.env.os }}
7978 container : ${{ fromJSON(matrix.env.json-image) }}
8079 steps :
81- - name : Install Miniconda
80+ - name : Install Miniforge
8281 uses : conda-incubator/setup-miniconda@v3
8382 with :
84- miniconda -version : latest # needed for macOS 13
83+ miniforge -version : latest # needed for macOS 13
8584 python-version : ${{ matrix.python-version }}
8685 - name : Download Conda Package Artifact
8786 uses : actions/download-artifact@v4
9291 run : |
9392 KHIOPS_CORE_VERSION="${{ inputs.khiops-core-version || env.DEFAULT_KHIOPS_CORE_VERSION }}"
9493 echo "KHIOPS_CORE_VERSION=$KHIOPS_CORE_VERSION" >> "$GITHUB_ENV"
95- - name : Install the Khiops Conda package (Windows)
96- if : runner.os == 'Windows'
94+ - name : Install the Khiops Conda package
9795 run : |
9896 conda install --channel khiops-dev khiops-core=$KHIOPS_CORE_VERSION
99- conda install --override-channels --channel conda-forge --channel ./khiops-conda/ khiops
100- # In Linux/macOS we need the conda-forge channel to install their pinned versions
101- - name : Install the Khiops Conda package (Linux/macOS)
102- if : runner.os != 'Windows'
103- run : |
104- conda install --channel conda-forge --channel khiops-dev khiops-core=$KHIOPS_CORE_VERSION
10597 conda install --channel ./khiops-conda/ khiops
10698 - name : Test Khiops Installation Status
10799 run : kh-status
@@ -135,10 +127,10 @@ jobs:
135127 # See the upload-artifact step in the build job for the explanation of this pattern
136128 name : khiops-conda
137129 path : ./khiops-conda
138- - name : Install Miniconda
130+ - name : Install Miniforge
139131 uses : conda-incubator/setup-miniconda@v3
140132 with :
141- miniconda -version : latest
133+ miniforge -version : latest
142134 python-version : ' 3.12'
143135 - name : Install Requirement Packages
144136 run : conda install -y anaconda-client conda-index
0 commit comments