Skip to content

Commit

Permalink
ci: only binary numpy, wait on pypy 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Oct 25, 2021
1 parent 4866433 commit b04f4cd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true

env:
PIP_ONLY_BINARY: numpy

jobs:
# This is the "main" test suite, which tests a large number of different
# versions of default compilers and Python versions in GitHub Actions.
Expand All @@ -29,7 +32,7 @@ jobs:
- '3.10'
# - '3.11-dev'
- 'pypy-3.7-v7.3.5'
- 'pypy-3.8'
# - 'pypy-3.8'

# Items in here will either be added to the build matrix (if not
# present), or add new keys to an existing matrix element if all the
Expand Down Expand Up @@ -85,7 +88,7 @@ jobs:

- name: Prepare env
run: |
python -m pip install -r tests/requirements.txt --only-binary=:all:
python -m pip install -r tests/requirements.txt
- name: Setup annotations on Linux
if: runner.os == 'Linux'
Expand Down Expand Up @@ -238,7 +241,7 @@ jobs:
- name: Prepare env
run: |
python -m pip install -r tests/requirements.txt --only-binary=:all:
python -m pip install -r tests/requirements.txt
- name: Configure
run: >
Expand Down Expand Up @@ -515,7 +518,7 @@ jobs:
- name: Install dependencies
run: |
set +e; source /opt/intel/oneapi/setvars.sh; set -e
python3 -m pip install -r tests/requirements.txt --only-binary=:all:
python3 -m pip install -r tests/requirements.txt
- name: Configure C++11
run: |
Expand Down Expand Up @@ -607,7 +610,7 @@ jobs:

- name: Install dependencies
run: |
python3 -m pip install cmake -r tests/requirements.txt --only-binary=:all:
python3 -m pip install cmake -r tests/requirements.txt
- name: VAR_BUILD_TYPE 7
if: matrix.centos == 7
Expand Down Expand Up @@ -764,7 +767,7 @@ jobs:

- name: Prepare env
run: |
python -m pip install -r tests/requirements.txt --only-binary=:all:
python -m pip install -r tests/requirements.txt
# First build - C++11 mode and inplace
- name: Configure ${{ matrix.args }}
Expand Down Expand Up @@ -811,7 +814,7 @@ jobs:

- name: Prepare env
run: |
python -m pip install -r tests/requirements.txt --only-binary=:all:
python -m pip install -r tests/requirements.txt
# First build - C++11 mode and inplace
- name: Configure
Expand Down Expand Up @@ -861,7 +864,7 @@ jobs:

- name: Prepare env
run: |
python -m pip install -r tests/requirements.txt --only-binary=:all:
python -m pip install -r tests/requirements.txt
# First build - C++11 mode and inplace
- name: Configure
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
types:
- published

env:
PIP_ONLY_BINARY: numpy

jobs:
# This builds the sdists and wheels and makes sure the files are exactly as
# expected. Using Windows and Python 2.7, since that is often the most
Expand All @@ -30,7 +33,7 @@ jobs:

- name: Prepare env
run: |
python -m pip install -r tests/requirements.txt --only-binary=:all:
python -m pip install -r tests/requirements.txt
- name: Python Packaging tests
run: pytest tests/extra_python_package/
Expand All @@ -52,7 +55,7 @@ jobs:

- name: Prepare env
run: |
python -m pip install -r tests/requirements.txt build twine --only-binary=:all:
python -m pip install -r tests/requirements.txt build twine
- name: Python Packaging tests
run: pytest tests/extra_python_package/
Expand Down

0 comments on commit b04f4cd

Please sign in to comment.