diff options
| author | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-26 12:20:51 +0100 |
|---|---|---|
| committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-02-10 14:49:16 +0100 |
| commit | 0d9d10dd6d23d874701bcff951510a178f6836be (patch) | |
| tree | 184bbee6e0f9ce0ded3083e8acb7b8aa63ce6ad8 /.github/workflows | |
| parent | c03e84044a05f0b2358a1cbfc4158e83cba4b835 (diff) | |
| download | numpy-0d9d10dd6d23d874701bcff951510a178f6836be.tar.gz | |
CI: Convert no-array-func test to also run NumPy 2.0 feature flag
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build_test.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 08d531105..8168f5809 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -276,11 +276,17 @@ jobs: python-version: ${{ env.PYTHON_VERSION }} - uses: ./.github/actions - no_array_func: + numpy2_flag_and_no_array_func: needs: [smoke_test] runs-on: ubuntu-latest env: NUMPY_EXPERIMENTAL_ARRAY_FUNCTION: 0 + # Array func and numpy-2 should be involved, so use this + # to have a test for feature flagged behavior. + NPY_NUMPY_2_BEHAVIOR: 1 + # Using the future "weak" state doesn't pass tests + # currently unfortunately + NPY_PROMOTION_STATE: legacy steps: - uses: actions/checkout@v3 with: |
