diff options
author | DWesl <22566757+DWesl@users.noreply.github.com> | 2023-01-30 07:41:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 07:41:10 -0500 |
commit | bb1b2128a827e6ee8cadc9e537a75e4b875b225a (patch) | |
tree | e866c54ae971af4f10341bbe415c0636a01adf2d /.github | |
parent | 2fa4441529747b2ff9c712f5c102267888da1f80 (diff) | |
download | numpy-bb1b2128a827e6ee8cadc9e537a75e4b875b225a.tar.gz |
CI: Unsplit the Cygwin tests.
Ideally this works nicely and I can change the PR name.
If not, I put the split back, then the parallelization if that still doesn't work.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cygwin.yml | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index a2c2aef69..820ebfc29 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -56,7 +56,7 @@ jobs: dash -c "which python3.9; /usr/bin/python3.9 --version -V" - name: Build NumPy wheel run: | - dash -c "/usr/bin/python3.9 -m pip install 'setuptools<49.2.0' pytest pytz cffi pickle5 importlib_metadata typing_extensions pytest-xdist" + dash -c "/usr/bin/python3.9 -m pip install 'setuptools<49.2.0' pytest pytz cffi pickle5 importlib_metadata typing_extensions" dash -c "/usr/bin/python3.9 -m pip install -r test_requirements.txt" dash -c "/usr/bin/python3.9 setup.py bdist_wheel" - name: Install new NumPy @@ -71,15 +71,7 @@ jobs: # Not sure if that will run the top-level tests. shell: "C:\\tools\\cygwin\\bin\\bash.exe -o igncr -eo pipefail {0}" run: | - for submodule in array_api compat core distutils fft lib linalg ma matrixlib polynomial random tests typing; - do - echo "Testing numpy submodule ${submodule}"; - /usr/bin/python3.9 runtests.py -n -s "${submodule}" || exit 1; - done; - - name: Run NumPy F2Py tests - shell: "C:\\tools\\cygwin\\bin\\bash.exe -o igncr -eo pipefail {0}" - # I need the separate processes more than I need the parallelization - run: /usr/bin/python3.9 runtests.py -n -s f2py -- --numprocesses=auto; + /usr/bin/python3.9 runtests.py -n - name: Upload wheel if tests fail uses: actions/upload-artifact@v3 if: failure() |