diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2020-11-17 16:01:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 16:01:55 -0800 |
commit | 7ffc3650a44859a51384eebbecb51bf199495102 (patch) | |
tree | d953925d36ff5a441610b46f758615c7429de737 /.github | |
parent | 3bbdafbc3f5683d04786efdd86db7f478f2ae522 (diff) |
ci: Simplify Python dependency installs for Linux and macOS. (#5458)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 18 |
1 files changed, 4 insertions, 14 deletions
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 |