Skip to content

Commit 0756c95

Browse files
author
Benjamin Moody
committed
Limit NPY_PROMOTION_STATE to i386 test job only (#552)
As discussed in #548, we need to fix a failing test. This PR removes the global `NPY_PROMOTION_STATE: weak_and_warn` environment variable and applies it only to the `test-deb11-i386` job where overflow errors are most likely to occur in the 32-bit environment. Addresses test overflow errors seen in #544. Note that the `test-deb11-i386` job is not failing.
2 parents a629039 + 73042ac commit 0756c95

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
branches:
99
- main
1010

11-
env:
12-
NPY_PROMOTION_STATE: weak_and_warn
13-
1411
jobs:
1512
test:
1613
name: Python ${{ matrix.python-version }} / ${{ matrix.os }} / ${{ matrix.numpy }}
@@ -40,6 +37,8 @@ jobs:
4037
name: Python 3.7 on Debian 11 i386
4138
runs-on: ubuntu-latest
4239
container: i386/debian:11
40+
env:
41+
NPY_PROMOTION_STATE: weak_and_warn
4342
steps:
4443
- name: Install dependencies
4544
run: |

0 commit comments

Comments
 (0)