From 7ffc3650a44859a51384eebbecb51bf199495102 Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Tue, 17 Nov 2020 16:01:55 -0800 Subject: ci: Simplify Python dependency installs for Linux and macOS. (#5458) --- .github/workflows/ci.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04b36130e..acc13c2ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,24 +90,14 @@ jobs: python3 -m pip install pexpect echo "/usr/local/opt/ccache/libexec" >> $GITHUB_PATH - - name: Install Cython - if: matrix.python-bindings && runner.os == 'Linux' - run: | - python3 -m pip install \ - Cython==0.29.* --install-option="--no-cython-compile" - echo "$(python3 -m site --user-base)/bin" >> $GITHUB_PATH - - - name: Install Cython (macOS) - if: matrix.python-bindings && runner.os == 'macOS' - run: | - python3 -m pip install \ - Cython==0.29 --install-option="--no-cython-compile" - - - name: Install Pytest + - name: Install Python Dependencies if: matrix.python-bindings run: | python3 -m pip install pytest python3 -m pytest --version + python3 -m pip install \ + Cython==0.29.* --install-option="--no-cython-compile" + echo "$(python3 -m site --user-base)/bin" >> $GITHUB_PATH - name: Restore Dependencies id: restore-deps -- cgit v1.2.3