Skip to content

Commit 8036e13

Browse files
authored
conda workaround in cirrus-ci for bad linux kernel version (#262)
1 parent 7c9db59 commit 8036e13

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.cirrus.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ linux_task_template: &LINUX_TASK_TEMPLATE
6969
- wget --quiet https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
7070
- echo "${CIRRUS_OS} $(sha256sum miniconda.sh)"
7171
- echo "$(date +%Y).$(expr $(date +%U) / ${CACHE_PERIOD}):${CONDA_CACHE_BUILD}"
72+
- uname -r
7273
populate_script:
74+
- export CONDA_OVERRIDE_LINUX="$(uname -r | cut -d'+' -f1)"
7375
- bash miniconda.sh -b -p ${HOME}/miniconda
7476
- conda config --set always_yes yes --set changeps1 no
7577
- conda config --set show_channel_urls True
@@ -103,4 +105,5 @@ tests_task:
103105
name: "${CIRRUS_OS}: py${PY_VER} tests"
104106
<< : *LINUX_TASK_TEMPLATE
105107
tests_script:
108+
- export CONDA_OVERRIDE_LINUX="$(uname -r | cut -d'+' -f1)"
106109
- nox --session tests -- --test-data-dir ${IRIS_TEST_DATA_DIR}/test_data

0 commit comments

Comments
 (0)