From 7c4bb2a57b41a9a0c13450ed4b23fa5564563548 Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Thu, 2 Jul 2020 21:09:58 -0400 Subject: [PATCH] [CI] Install pandas on CI for testing One of the SolutionArray tests uses pandas as an output option. --- .github/workflows/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 864db7add..7f1c8d127 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ jobs: - name: Upgrade pip run: python3 -m pip install -U pip setuptools wheel - name: Install Python dependencies - run: python3 -m pip install ruamel.yaml scons numpy cython h5py + run: python3 -m pip install ruamel.yaml scons numpy cython h5py pandas - name: Build Cantera run: python3 `which scons` build -j2 - name: Test Cantera @@ -65,7 +65,7 @@ jobs: - name: Upgrade pip run: python3 -m pip install -U pip setuptools wheel - name: Install Python dependencies - run: python3 -m pip install ruamel.yaml scons numpy cython h5py + run: python3 -m pip install ruamel.yaml scons numpy cython h5py pandas - name: Build Cantera run: python3 `which scons` build -j2 - name: Test Cantera @@ -95,7 +95,7 @@ jobs: - name: Upgrade pip run: python3 -m pip install -U pip setuptools wheel - name: Install Python dependencies - run: python3 -m pip install ruamel.yaml scons numpy cython h5py + run: python3 -m pip install ruamel.yaml scons numpy cython h5py pandas - name: Build Cantera run: | python3 `which scons` build blas_lapack_libs=lapack,blas coverage=y \ @@ -166,6 +166,7 @@ jobs: python3-pip python3-setuptools libsundials-serial-dev liblapack-dev \ libblas-dev - name: Install Python dependencies + # Don't include Pandas here due to install errors run: | sudo -H /usr/bin/python3 -m pip install ruamel.yaml cython h5py - name: Build Cantera @@ -196,7 +197,7 @@ jobs: shell: bash -l {0} run: | conda install -q sundials=${{ matrix.sundials-ver}} scons numpy ruamel_yaml \ - cython libboost fmt eigen yaml-cpp h5py + cython libboost fmt eigen yaml-cpp h5py pandas - name: Build Cantera run: | scons build extra_inc_dirs=$CONDA_PREFIX/include:$CONDA_PREFIX/include/eigen3 \ @@ -226,7 +227,7 @@ jobs: run: python3 -m pip install -U pip setuptools wheel - name: Install Python dependencies run: | - python3 -m pip install ruamel.yaml scons numpy h5py; + python3 -m pip install ruamel.yaml scons numpy h5py pandas; python3 -m pip install https://github.com/cython/cython/archive/master.zip --install-option='--no-cython-compile'; - name: Build Cantera run: python3 `which scons` build blas_lapack_libs=lapack,blas python_package='full' -j2 @@ -270,7 +271,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install -U pip setuptools - python -m pip install scons pypiwin32 numpy ruamel.yaml cython h5py + python -m pip install scons pypiwin32 numpy ruamel.yaml cython h5py pandas - name: Build Cantera run: | scons build -j2 boost_inc_dir=%BOOST_ROOT_1_69_0% debug=n VERBOSE=y python_package=full ^